[ 
https://issues.apache.org/jira/browse/PDFBOX-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-1843:
------------------------------------

    Attachment: TestPDFToImage.java

I improved the diff routine: I no longer assume that the images are different 
just because the files are different. Plus, I take care that the diff pixels 
can be seen, i.e. pixels that are too light are now set darker. Plus some speed 
improvement, and size differences are shown as a black border in the diff image.

> Find a way to test PDFToImage
> -----------------------------
>
>                 Key: PDFBOX-1843
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1843
>             Project: PDFBox
>          Issue Type: Wish
>    Affects Versions: 2.0.0
>            Reporter: John Hewson
>              Labels: test
>         Attachments: TestPDFToImage.java
>
>
> The regression tests for PDFToImage are currently disabled because different 
> JVMs produce different output because of their different implementations of 
> AWT.
> We should investigate if these AWT differences are caused by:
> 1. PNG encoding
> 2. Type 1 font rendering
> 3. anti-aliasing
> 4. line/curve drawing
> If the answer is anything except 4 then there will be a relatively easy fix.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to