Search found 11 matches

by salsaman
2013-02-24T12:12:27-07:00
Forum: Bugs
Topic: Bug generating text on black frames
Replies: 5
Views: 5790

Re: Bug generating text on black frames

Thanks for that tip !
by salsaman
2013-02-24T06:14:12-07:00
Forum: Bugs
Topic: Bug generating text on black frames
Replies: 5
Views: 5790

Re: Bug generating text on black frames

BTW, the "convert -quiet -colorspace RGB -type truecolor [-alpha on]" is autogenerated by my code. I need a generic command which ensures (as much as possible) that the output image is in the RGB24 (for .jpg) or RGBA32 (for .png) colorspace. Due to current programatic limitations this has to come at ...
by salsaman
2013-02-24T05:50:57-07:00
Forum: Bugs
Topic: Bug generating text on black frames
Replies: 5
Views: 5790

Re: Bug generating text on black frames

Thanks for the prompt reply, and glad to learn it has been fixed.

I tested with fedora 17, so I will check for updates to the imagemagick package.

Regards.
by salsaman
2013-02-23T23:10:38-07:00
Forum: Bugs
Topic: Bug generating text on black frames
Replies: 5
Views: 5790

Bug generating text on black frames

ImageMagick 6.7.5-6 The following commands generate text on green background, instead of the desired black background: convert -quiet -colorspace RGB -type truecolor -alpha on -size 720!x480! xc:"#000000FF" temp.png convert -quiet -colorspace RGB -type truecolor -alpha on temp.png -fill "#FFFFFFFF ...
by salsaman
2012-03-11T08:25:27-07:00
Forum: Users
Topic: draw -text not working in windows
Replies: 6
Views: 12617

Re: draw -text not working in windows

convert -quiet -colorspace RGB -type truecolor -alpha on temp.png -fill #FFFFFF -stroke #FFFFFF -pointsize 32 -draw "text 90 100 'ABC' " +matte 00000001.png your syntax is not proper or IM 6. The png input should be read first before any options. But the main problem is why you are enabling alpha ...
by salsaman
2012-03-10T13:39:22-07:00
Forum: Users
Topic: draw -text not working in windows
Replies: 6
Views: 12617

Re: draw -text not working in windows

Thanks, that kind of works, but now it gives another error: convert.exe: unable to read font `(null)' @ error/annotate.c/RenderFreetype/1120. convert.exe: `%s' (%d) "C:/Program Files/gs/gs9.05/bin/gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop ...
by salsaman
2012-03-10T08:05:30-07:00
Forum: Users
Topic: configure flag that enables/disables -g
Replies: 1
Views: 3364

Re: configure flag that enables/disables -g

I am not sure about imagemagick, but generally if you install an application with "make install-strip", it should strip out all the debug info.
by salsaman
2012-03-10T08:00:12-07:00
Forum: Users
Topic: draw -text not working in windows
Replies: 6
Views: 12617

draw -text not working in windows

I'm using the windows binaries from the site. If I do something like: convert -quiet -colorspace RGB -type truecolor -alpha on temp.png -fill #FFFFFF -stroke #FFFFFF -pointsize 32 -draw 'text 90 100 "ABC"' +matte 00000001.png this works fine under Linux, but under windows (well, wine to be exact ...
by salsaman
2011-08-08T17:25:52-07:00
Forum: Users
Topic: Add or preserve alpha channel
Replies: 13
Views: 49564

Re: Add or preserve alpha channel

You may well be right. Looking at the code the problem could be in gdk_pixbuf_new_from_file() not handling the png alpha channel correctly.

Is there some way I can visualise the alpha channel as greyscale to check ?
by salsaman
2011-08-08T14:03:40-07:00
Forum: Users
Topic: Add or preserve alpha channel
Replies: 13
Views: 49564

Re: Add or preserve alpha channel

I have tried that, it does the same as Set, i.e turns black pixels transparent.

also, -alpha Background keeps the black pixels black, but does not add any alpha channel. -alpha Opaque would be OK, except that I want to preserve any exsting alpha channel.
by salsaman
2011-08-08T05:39:57-07:00
Forum: Users
Topic: Add or preserve alpha channel
Replies: 13
Views: 49564

Add or preserve alpha channel

Hi, I am trying to do the following: convert an image (format is not know ahead of time) to png. If the source image has an alpha channel, preserve it. If the source image has no alpha channel, add an opaque one. -alpha Set almost does what I want, except that it makes black pixels in the source ...