Hello all!

I am facing troubles when handing a PdfMemoryInputStream an image in
format other than RGB (e.g. CMYK), do we not support other formats?
(image looks messed up)
I made sure that buffer is ok, and buffer size given to constructor is
appropriate. 

Snippet:
PdfMemoryInputStream pStream ((const char*)(tmpImageNoAlpha.GetLine(0)),
bufferSizeInBytes);
PdfImage pImage(&document);
pImage.SetImageData (tmpImageNoAlpha.GetWidth(),
tmpImageNoAlpha.GetHeight(), 8, &pStream);
painter.DrawImage (...)

Thanks in advance
Jonathan


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to