On Fri, 2021-12-10 at 00:05 +0300, Alexander Salieff via Podofo-users
wrote:
> Can I rasterize a PDF document page to a file or to a
> memory buffer using PoDoFo?

        Hi,
you can use low-level APIs to do literally anything with the PDF file.

It depends what you think with the 'rasterize', my first impression is
to garble the page content to be unreadable, like to make large pixels
from small pixels, something like that. If you mean to draw the page
content into some canvas/HDC/whatever, then it's not part of the PoDoFo
library, but you can still interpret the page content yourself using
PdfContentsTokenizer. When you search the sources for it then you'll
find an example 'pdfcontentsgraph' and 'podofocolor' with
'podofotxtextract' tools using it.
        Bye,
        zyx


_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to