Hi all,

I'm currently extracting pages from PDF files to JPeg files using 
RenderPageToImage.
This works very well but is a little bit slow (about 2 minutes for 270 
pages).
However, somes files have empty pages that I have to filter and not to 
export. I do that using RenderPageToImage to buffer, analysing buffer 
size and then redoing RenderPageToImage to Jpeg files

Here are my questions:
- How to save the buffer directly as a JPeg file, avoiding redoing 
RenderPageToImage?
- I found ParseContent which is drastically faster than 
RenderPageToImage (5 s for 270 pages!), but generates Tiff files. Is it 
possible to direct it to a buffer instead of a Tiff file? Doing so, I 
could analyse the buffer size and avoid doing 2 RenderPageToImage.
- In addition, could ParseContent generate JPeg files directly (it seems 
like PDF pages are actually Tiff images)?

Many thanks in advance for any help.

-- 
Jean-Luc Arnaud


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to