On Tue, 18 Jul 2023 at 20:24, Sandro Mani <manisan...@gmail.com> wrote:
> Only exception is attempting to
> pass a monochrome image bit-buffer to PdfImage::SetData, which results
> in a distorted image.

Forgot to say: using PdfImage::SetData with a monocrome input would
have been wrong since there's no monochrome pixel format to choose,
only "PdfPixelFormat::Grayscale" which assumes 8 bits grayscale input
image (not your case). Using PdfImageInfo is the correct path to support
these images.


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

Reply via email to