Search found 1147 matches

by glennrp
2006-09-05T05:25:25-07:00
Forum: Users
Topic: Issue with stripping out profiles
Replies: 1
Views: 8060

Don't you see the same behavior without -strip? Since JPEG is lossy, the image can change a little each time you rewrite it, for some number of iterations.
by glennrp
2006-09-01T14:23:54-07:00
Forum: Users
Topic: can't create xc:black ppm in truecolor
Replies: 1
Views: 8156

Re: can't create xc:black ppm in truecolor

but all I get is Type: Bilevel, Colorspace: Gray and Channel depth: Gray: 1-bits... "identify" analyzes the image not the file. Even if your image is PPM, "identify" will look at the pixels and see that they are all black or white, and then report what you saw. If you really wan...
by glennrp
2006-08-31T04:37:30-07:00
Forum: Users
Topic: Greyscale image to bitonal
Replies: 1
Views: 8723

  • -threshold
by glennrp
2006-08-30T18:57:24-07:00
Forum: Users
Topic: EPS->PNG, transparency and anti-aliasing
Replies: 3
Views: 13224

First enlarge the image, say 400%, then convert as you did, then
resize down to 25%.
by glennrp
2006-08-30T18:54:33-07:00
Forum: Users
Topic: transparency
Replies: 2
Views: 10795

Use xc:black rather than xc:none. This is not what I need!.. This just creates a black background and still it puts an opaque image on it. I need the transparent bg (wich I can get with xc:none or xc:transparent) and the drawn image (bg.png) should have 60% opacity... Can this be done? Thanks. comp...
by glennrp
2006-08-29T15:39:02-07:00
Forum: Users
Topic: Transparent GIF: alpha or matte?
Replies: 4
Views: 15883

Alpha is only the last 8 bytes of the "alpha" color: FF or 255. The other bytes are the transparent color, FFFFFF or 255,255,255 which is white.
by glennrp
2006-08-14T13:51:24-07:00
Forum: Users
Topic: unnecessary image appear
Replies: 1
Views: 7987

Re: unnecessary image appear

dontlie wrote: hi )

trying to know image width:

Code: Select all

convert file_tmp -format "%w" -identify
image "-identify" appears (same as file_tmp)
how i can cancel that? i dont need it

sorry for bad english))


Try

Code: Select all

identify -format "%w" file_tmp
Glenn
by glennrp
2006-08-13T08:38:08-07:00
Forum: Users
Topic: Help with dithering
Replies: 17
Views: 46357

Now I've got this: convert %InName% ( -channel A -ordered-dither 2x1 ) ( -compose CopyOpacity -composite ) %OutName% convert %OutName% ( -background blue -flatten ) %OutName% convert %OutName% ( -transparent blue ) %OutName% However, I still can't get it all on one line :(. The reason I want it all...
by glennrp
2006-08-13T08:23:27-07:00
Forum: Users
Topic: Anti-alias an image?
Replies: 1
Views: 8595

You could export a magnified image (say 400%) in GIF format, then use ImageMagick to resize it to the normal size while converting to PNG. That should automatically antialias it for you.
by glennrp
2006-08-09T14:30:40-07:00
Forum: Users
Topic: MNG with alpha transparency
Replies: 0
Views: 6367

Re: MNG with alpha transparency

I have some PNGs with (alpha) transparency (0.png, 1.png, 2.png) that I convert to MNG with convert -delay 100 0.png 1.png 2.png a.mng and convert -delay 100 0.png -delay 200 1.png 2.png b.mng When I animate a.mng, each frame replaces the previous one. With animate b.mng however, each new frame is ...
by glennrp
2006-08-09T08:01:48-07:00
Forum: Users
Topic: Help with dithering
Replies: 17
Views: 46357

The resulting image does require transparency; so I can't just flatten it. How would I truncate the above batch file into a single command? Also, how would I change the dithering method to ordered instead of Floyd-Steinberg? convert -channel A -ordered-dither 4x4 %FILE%%EXTN% %FILE%_alpha%EXTN% Edi...
by glennrp
2006-08-08T07:36:33-07:00
Forum: Users
Topic: Trim one border
Replies: 5
Views: 16657

It's not the same. "-trim" and my solution remove a variable number of rows or columns that contain all the same color pixels. "-chop" or "-crop" (and "-shave") remove a specified number of rows. ../GlennRP
by glennrp
2006-08-06T16:11:05-07:00
Forum: Users
Topic: Help with dithering
Replies: 17
Views: 46357

I'm not sure what you mean. Could you explain that again? If your objective is to end up with a simpler image, with no alpha channel, you do not need to dither. Just do a full-alpha composition of your image over the blue background. The resulting image will not have an alpha channel, and it will l...
by glennrp
2006-08-06T04:15:47-07:00
Forum: Users
Topic: Help with dithering
Replies: 17
Views: 46357

Re: Help with dithering

I describe a method of approximating the alpha channel using dithering techniques in this article . Could someone please help me by telling me how this can be automated using ImageMagick? Thanks! With ImageMagick you would not need to dither. Simply composite the transparent image over the blue ima...
by glennrp
2006-08-03T17:06:28-07:00
Forum: Users
Topic: Trim one border
Replies: 5
Views: 16657

Add a 1-pixel thick black row or column opposite the side you want to trim, then add a 1-pixel thick white row or column next to it. Run "convert" with the -trim option. This will trim the desired side and will also remove the white row/column, but won't remove anything from the sides. The...