Tilman Hausherr created PDFBOX-4187:
---------------------------------------
Summary: Refactor LosslessFactory alpha
Key: PDFBOX-4187
URL: https://issues.apache.org/jira/browse/PDFBOX-4187
Project: PDFBox
Issue Type: Improvement
Components: PDModel
Affects Versions: 2.0.9, 3.0.0 PDFBox
Reporter: Tilman Hausherr
Assignee: Tilman Hausherr
Fix For: 2.0.10, 3.0.0 PDFBox
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]