"Ross Presser" <[email protected]> wrote: > Indeed. A good Ghostscript command to start with would be: > > gs -dNOPAUSE -dBATCH -sDEVICE=png16m -r150 \ > -dTextAlphaBits=4 -dGraphicsAlphaBits=4 \ > -sOutputFile=output.png input.pdf
Thanks, I'll give that a shot. > This will use PNG as the output format (24-bit color), which will be > compressed greatly over PNM; and it will use Ghostscript's built-in > antialiasing procedures. Compression (even lossless compression) is highly undesirable in my specific application. The output images get loaded into OpenGL textures straight from the mmap'ed files, so for simplicity they must be uncompressed on disk. PPM and PGM work perfectly for this. Plus they behave as simple 2D arrays, which makes it possible to use GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, etc. to load subsets of a large image file. -- Andy Goth | http://andy.junkdrome.org./ ununun...@{aircanopy.net,openverse.com} _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
