Hi,

is there a possibility to encode my image data into a PDF-compatible stream?

I believe, that "FreeImage_ZLibCompress()" does already that job for the PDF "FlateDecode" filter.

But then PDF also knows JPEG, LZW, and fax encoding (and many more). And Freeimage can already handle all of them for the Tiff format.

Is it possible to access that functionality without digging to deep? Actually, it would be great to have something like "FreeImage_JPEGCompress()", "FreeImage_LZWCompress()" and "FreeImage_CCITTFAX4Compress()" in the main interface, eventually :)

Regards,
Alessandro