What is RAW output format in PDF to Image converter?

23 views
Skip to first unread message

Support

unread,
Oct 31, 2011, 3:42:11 PM10/31/11
to pdf2...@googlegroups.com
Q: I'd like to raster a PDF using the RAW output, but it isn't clear from the manual what the output format actually is.

When --gray is specified, the output appears to be 1 byte per pixel (at least by size). But if I read through the bytes (assuming a stream of rows) I don\'t get the results I\'d expect.

Is there any documentation about exactly what RAW output format is in PDFTron PDF2Image (http://www.pdftron.com/pdf2image/downloads.html)?
---------------------------
A: The Raw format for each pixel should be :

(1) If the output is set to be transparent:

(a) not gray scale: RGBA (Red, Green, Blue, Alpha)

(b) gray scale: GA (Gray, Alpha)

(2) If the output is set to be not transparent

(a) not gray scale: RGB

(b) gray scale: G

 

 

Reply all
Reply to author
Forward
0 new messages