Search found 1147 matches

by glennrp
2016-07-18T05:41:40-07:00
Forum: Bugs
Topic: IM is not identifying ICO files without suffix
Replies: 8
Views: 6388

Re: IM is not identifying ICO files without suffix

The "magic number" for an ICO file is hex 0001. That's not much to go by. Lots of files could begin with those four bytes.
by glennrp
2016-07-15T11:55:08-07:00
Forum: Bugs
Topic: possible bug saving as 32-bit BMP3
Replies: 6
Views: 5700

Re: possible bug saving as 32-bit BMP3

Did you try BMP4?
by glennrp
2016-07-13T03:54:05-07:00
Forum: Users
Topic: Please Add Alpha Channel to BMP3 Format
Replies: 10
Views: 9190

Re: Converting from Grayscale to RGB

Did you try

Code: Select all

convert a.png bmp3:config.bmp
to force IM to write the image in the BMP3 format?

By the way, "-depth 32" means RGBA with 32 bits per channel (128 bits per pixel) which isn't what you want.
by glennrp
2016-06-24T09:47:01-07:00
Forum: Bugs
Topic: ImageMagick 7.x.x error attempt to set read-only property
Replies: 3
Views: 3583

Re: ImageMagick 7.x.x error attempt to set read-only property

Of those I prefer "LABEL:". So the image in question would be stored with the property "LABEL:VERSION= 1.8", "LABEL:CREATOR:= SCREENSHOT_STUDIO", etc. grep "comment" coders/*.c grep "label" coders/*.c' says this will be a fairly extensive job. Lots o...
by glennrp
2016-06-24T09:37:14-07:00
Forum: Bugs
Topic: ImageMagick 7.x.x error attempt to set read-only property
Replies: 3
Views: 3583

Re: ImageMagick 7.x.x error attempt to set read-only property

The VERSION keyword was invented by the author of the image, not by libpng. PNG text keywords can consist of any string of 1-79 Latin-1 characters. We'll need to find another way of storing comment keywords coming from PNG, GIF, JPEG, etc., images or from the "-label" or "-comment&quo...
by glennrp
2016-06-12T16:50:10-07:00
Forum: Bugs
Topic: v7 -distort changes gamma
Replies: 3
Views: 4944

Re: v7 -distort changes gamma

I don't see "-grayscale <colorspace>" listed among the commandline options at http://imagemagick.org/script/command-l ... php#option (although "-grayscale <method>" does show up on the help screen if I type "magick convert").
by glennrp
2016-05-25T10:47:48-07:00
Forum: Bugs
Topic: Random results from MagickIdentifyImageType() for PNGs with palette and alpha
Replies: 7
Views: 9609

Re: Random results from MagickIdentifyImageType() for PNGs with palette and alpha

Aren't you simply overflowing your own "itypes[]" array, when i exceeds 3?

EDIT: never mind, I see you are restarting i==0 each time around your loop.
by glennrp
2016-05-25T05:06:21-07:00
Forum: Bugs
Topic: Possible issue with conjure (7.0.1-5) Black background color for png images with transparency
Replies: 2
Views: 3331

Re: Possible issue with conjure (7.0.1-5) Black background color for png images with transparency

I can't reproduce this problem on my platform (Ubuntu 14.04, IM-7.0.1-6-Q16). I get the same transparent image out. IM does add some ancillary chunks, including a white bKGD chunk, but those are OK. Can you post the result of pngcheck -v PNG_transparency_demonstration_1_why_black.png Here's mine: Fi...
by glennrp
2016-05-18T17:59:54-07:00
Forum: Users
Topic: SVG to PNG, resize and recolor
Replies: 10
Views: 37672

Re: SVG to PNG, resize and recolor

Instead of "-colorize r,g,b", try "-fill newcolor -opaque oldcolor"
by glennrp
2016-05-17T10:52:47-07:00
Forum: Bugs
Topic: generated png file size zero
Replies: 9
Views: 8816

Re: generated png file size zero

Sorry but I'm not aware of any binary distribution of ImageMagick for AIX. What version of IM did you download, that has the unexpected ";"?
by glennrp
2016-05-14T12:36:22-07:00
Forum: Bugs
Topic: convert from file type BMP to PNG bug
Replies: 11
Views: 13385

Re: convert from file type BMP to PNG bug

The "not working" one ends with convert: unable to load module 'C:\Program Files\ImageMagick-7.0.1-Q16\modules\c oders\IM_MOD_RL_png_.dll': Nie można odnaleźć określonego modułu. @ error/module.c/OpenModule/1275. convert: no encode delegate for this image format `PNG32' @ warning/constitut...
by glennrp
2016-05-14T10:24:16-07:00
Forum: Bugs
Topic: convert from file type BMP to PNG bug
Replies: 11
Views: 13385

Re: convert from file type BMP to PNG bug

Does the "-debug" output give you anything helpful?

Code: Select all

magick convert -debug coder "bitmap.bmp" "bitmap.png"
or

Code: Select all

magick convert -debug coder bitmap.bmp bitmap.png
by glennrp
2016-05-14T05:40:21-07:00
Forum: Bugs
Topic: convert from file type BMP to PNG bug
Replies: 11
Views: 13385

Re: convert from file type BMP to PNG bug

What does

Code: Select all

magick -list format | grep PNG
tell you about your installed libpng version?
by glennrp
2016-05-12T04:50:22-07:00
Forum: Users
Topic: Imagemagick automatically lowering depth too far.
Replies: 7
Views: 3774

Re: Imagemagick automatically lowering depth too far.

Don't use "PNG8:" because that forces a bit-depth of 8. Try this: convert test.png -colors 4 \ -define png:color-type=3 \ -define png:bit-depth=2 \ -define png:exclude-chunk=bKGD \ test5.png (excluding the bKGD to prevent your image from having 5 colors, that won't fit in a 2-bit palette)
by glennrp
2016-05-04T12:43:49-07:00
Forum: Users
Topic: How to add image file header to .RAW file without altering RAW data?
Replies: 2
Views: 5847

Re: How to add image file header to .RAW file without altering RAW data?

It ignored the "convert to PGM" directive because of the "gray:" prefix you supplied in the output filename.