andreieichler commented on pull request #125: URL: https://github.com/apache/pdfbox/pull/125#issuecomment-878556987
Attached here are the samples that I used to test this change. Both images rendered by `pdfRenderer.renderImage` looks the same on any viewer, however only the generated with `ImageType.BGR` have its colors loaded correctly on JavaCV/OpenCV libraries `pdfRenderer.renderImage` with `ImageType.RGB`  `Java2DFrameUtils.toMat` of `ImageType.RGB`  `pdfRenderer.renderImage` with `ImageType.BGR`  `Java2DFrameUtils.toMat` of `ImageType.BGR`  Original PDF [doe-to-20210323.pdf](https://github.com/apache/pdfbox/files/6804066/doe-to-20210323.pdf) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
