Search found 6 matches

by rydberg
2016-08-27T07:09:46-07:00
Forum: Bugs
Topic: 7.0.2-9 - stream does not work for PNG
Replies: 9
Views: 10823

Re: 7.0.2-9 - stream does not work for PNG

I saw https://github.com/ImageMagick/ImageMag ... it/5cb9208 change. Thanks!

What about the second problem with 8-bit PNGs (example image http://people.sc.fsu.edu/~jburkardt/dat ... uarium.png)? Do you plan to fix that as well or maybe you'd like me to provide more data?
by rydberg
2016-08-25T12:45:46-07:00
Forum: Bugs
Topic: 7.0.2-9 - stream does not work for PNG
Replies: 9
Views: 10823

Re: 7.0.2-9 - stream does not work for PNG

In ReadOnePNGImage function (coders/png.c) function ImportQuantumPixels is only called when:

Code: Select all

if (image->storage_class == DirectClass)
Why is that? When I called these functions also in:

Code: Select all

else /* image->storage_class != DirectClass */
"stream" starts to work for my 8-bit PNGs.
by rydberg
2016-08-23T13:53:11-07:00
Forum: Bugs
Topic: 7.0.2-9 - stream does not work for PNG
Replies: 9
Views: 10823

Re: 7.0.2-9 - stream does not work for PNG

I think I found a bug in MagickCore/stream.c in StreamImagePixels function. In all loops that fill stream_info->pixels, for example: if (LocaleCompare(stream_info->map,"RGB") == 0) { p=GetAuthenticPixelQueue(image); if (p == (const Quantum *) NULL) break; for (x=0; x < (ssize_t) GetImageEx...
by rydberg
2016-08-23T01:30:29-07:00
Forum: Bugs
Topic: 7.0.2-9 - stream does not work for PNG
Replies: 9
Views: 10823

Re: 7.0.2-9 - stream does not work with 8-bit PNG

What is more, there are some differences in how "stream" works for PNGs with other bit depths between 7.0.2-9 and 6.7.7.10 (default Ubuntu). Basically 6.7.7.10 works fine for all PNGs I tried (besides 8-bit PNGs). However, 7.0.2-9 version does a strange interlacing. For example, consider &...
by rydberg
2016-08-23T00:15:10-07:00
Forum: Bugs
Topic: 7.0.2-9 - stream does not work for PNG
Replies: 9
Views: 10823

Re: 7.0.2-9 - stream does not work with 8-bit PNG

I don't expect "stream" to produce me another PNG file. Please also note that in stream -map rgb aquarium.png output.rgb output is written to "output.rgb". For PNGs files with bit depth higher than 8 bits "stream" produces valid output, e.g . 3 bytes per pixel with RGB ...
by rydberg
2016-08-22T10:32:11-07:00
Forum: Bugs
Topic: 7.0.2-9 - stream does not work for PNG
Replies: 9
Views: 10823

7.0.2-9 - stream does not work for PNG

Hello, I'm trying to use ImageMagick to write a program that would make a thumbnail of a PNG file in the environment with limited memory. Since convert uses a lot of memory (I don't have 100MB to spare) I decided to try the stream command. Unfortunately I can't make it work for 8-bit PNG files (e.g....