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. http://people.sc.fsu.edu/~jburkardt/dat ... uarium.png) on my Ubuntu PC.
Code: Select all
stream -map rgb aquarium.png output.rgb
Code: Select all
convert aquarium.png output.rgb
So far I tried:
- different values of --with-quantum-depth in the configuration
- stream -depth parameter (however from the source code it looks like it's ignored)
- setting depth in ImageInfo structure (http://www.imagemagick.org/api/MagickWa ... am_8h.html)
Regards,
Pawel