ASF subversion and git services commented on PDFBOX-4187:

Commit 1828847 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1828847 ]

PDFBOX-4187: refactor, use the alpha value from getRGB()

> 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
>            Priority: Minor
>             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

To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to