Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.9, 3.0.0 PDFBox
-
None
Description
While looking into the code for PDFBOX-4184 I noticed that we try to get the alpha data in different ways, despite that it is available in the main method when image.getRGB() is called. So I'm refactoring all this; as a side effect, my 16 bit change in PDFBOX-4184 is no longer needed.
I'll commit this in two steps; 1) changing the main method and remove the ones that are no longer being used; 2) split the main method in a gray and a color code.