Search found 2 matches

by CBueche
2015-02-05T16:23:37-07:00
Forum: Magick++
Topic: How do I force Image type in write?
Replies: 1
Views: 7860

Re: How do I force Image type in write?

After stepping through the source code (file png.c) in the debugger, I found a solution. A solution that works is to prepend "PNG48:" to the output file name. For example: pImage->write("PNG48:d:\\temp\\Test1.png"); Using this method, I was able to dispense with creating the Imag...
by CBueche
2015-02-05T13:48:10-07:00
Forum: Magick++
Topic: How do I force Image type in write?
Replies: 1
Views: 7860

How do I force Image type in write?

I'm unable to find any useful, current information on forcing the Image type when I save a file, via write("filename"). My output file is being color-optimized, but I don't want it to be. Here's a short example: Image *pImage = new Image("d:\\temp\\Tile.png"); Pixels *pCache = ne...