I'm sorry. I was not using exactly pdfbox-app-2.0.4.jar but 
pdfbox-app-2.0.4-20160925.091907-39.jar (maybe a snapshot build?). I'm not sure 
where did I get that version. I have tryied with pdfbox-app-2.0.4.jar and the 
output is the same than in version 2.0.6.


So, I tried again with pdfbox-app-2.0.3.jar (downloaded from 
https://mvnrepository.com/artifact/org.apache.pdfbox/pdfbox-app/2.0.3) and It 
produces the same output than pdfbox-app-2.0.4-20160925.091907-39.jar (so the 
change is between versions 2.0.3 and 2.0.4).

Esteban



________________________________
De: Tilman Hausherr <[email protected]>
Enviado: jueves, 15 de junio de 2017 04:33 p.m.
Para: [email protected]
Asunto: Re: Change in image quality between versions 2.0.4 and 2.0.5 (also 
applies to 2.0.6)

Am 15.06.2017 um 18:20 schrieb Esteban R:
> Warning: don't use the following link to download de pdf: 
> <http://file-upload.com/d/6FgO>   (seems to be a malicious page, I tried to 
> remove the link while writing the e-mail, but that part was kept anyways)

done

>
> .
>
> Use this one instead:
>
> http://wikisend.com/download/185248/out.pdf

Thanks... disregard my theory about PDFBOX-1958. But I am not able to
reproduce the effect with jdk8. With jdk9 there is an effect but it
looks better for me (my screen is on 125%).

The PDFToImage results are identical.

What jdk are you using? What OS, and do you have a screen that is not
set at 100% ?

Tilman




>
> Esteban
>
> ________________________________
> De: Esteban R <[email protected]>
> Enviado: jueves, 15 de junio de 2017 04:09 p.m.
> Para: [email protected]
> Asunto: Re: Change in image quality between versions 2.0.4 and 2.0.5 (also 
> applies to 2.0.6)
>
> These links should work for at least a week:
>
>
>
> Screenshots:
>
> https://img4.file-upload.com/i/00298/5ep2gagcmcna.jpg

[https://img4.file-upload.com/i/00298/5ep2gagcmcna.jpg]

>
> [https://img4.file-upload.com/i/00298/5ep2gagcmcna.jpg

[https://img4.file-upload.com/i/00298/5ep2gagcmcna.jpg]

]
>
> (2.0.4)
>
> https://img5.file-upload.com/i/00298/8llrhev3r8oz.jpg

[https://img5.file-upload.com/i/00298/8llrhev3r8oz.jpg]

>
> [https://img5.file-upload.com/i/00298/8llrhev3r8oz.jpg

[https://img5.file-upload.com/i/00298/8llrhev3r8oz.jpg]

]
>
> (2.0.5)
>
>
> PDF:
>
> <http://file-upload.com/d/6FgO>http://wikisend.com/download/185248/out.pdf 
> (need to click the "Download" button)
>
> ________________________________
> De: Tilman Hausherr <[email protected]>
> Enviado: jueves, 15 de junio de 2017 03:35 p.m.
> Para: [email protected]
> Asunto: Re: Change in image quality between versions 2.0.4 and 2.0.5 (also 
> applies to 2.0.6)
>
> Am 15.06.2017 um 02:37 schrieb Esteban R:
>> Hello.
>>
>>
>> I have noticed with PDFDebugger that the same pdf is rendered
>> differently by pdfbox-2.0.4 and by pdfbox-2.0.5 (pdfbox-2.0.6 produces
>> the same output than pdfbox-2.0.5): the newer versions generate a more
>> pixelated image.
>>
>>
>> Please find attached a sample pdf and two screenshots of PDFDebugger
>> in version 2.0.4 and in version 2.0.5 (also applies for version 2.0.6).
>>
> Please upload a PDF to a sharehoster, attachments don't get through. It
> *might* be
> https://issues.apache.org/jira/browse/PDFBOX-1958
[PDFBOX-1958] image mask outline with shading pattern is 
...<https://issues.apache.org/jira/browse/PDFBOX-1958>
issues.apache.org
This is also somewhat of a regression: two weeks ago, the attached file had the 
image rendered in b/w, now it is invisible. I was able to get the image in 
another ...



> [PDFBOX-1958] image mask outline with shading pattern is 
> ...<https://issues.apache.org/jira/browse/PDFBOX-1958>
[PDFBOX-1958] image mask outline with shading pattern is 
...<https://issues.apache.org/jira/browse/PDFBOX-1958>
issues.apache.org
This is also somewhat of a regression: two weeks ago, the attached file had the 
image rendered in b/w, now it is invisible. I was able to get the image in 
another ...



> issues.apache.org
> This is also somewhat of a regression: two weeks ago, the attached file had 
> the image rendered in b/w, now it is invisible. I was able to get the image 
> in another ...
>
>
>
> [PDFBOX-1958] image mask outline with shading pattern is 
> ...<https://issues.apache.org/jira/browse/PDFBOX-1958>
[PDFBOX-1958] image mask outline with shading pattern is 
...<https://issues.apache.org/jira/browse/PDFBOX-1958>
issues.apache.org
This is also somewhat of a regression: two weeks ago, the attached file had the 
image rendered in b/w, now it is invisible. I was able to get the image in 
another ...



> [PDFBOX-1958] image mask outline with shading pattern is 
> ...<https://issues.apache.org/jira/browse/PDFBOX-1958>
[PDFBOX-1958] image mask outline with shading pattern is 
...<https://issues.apache.org/jira/browse/PDFBOX-1958>
issues.apache.org
This is also somewhat of a regression: two weeks ago, the attached file had the 
image rendered in b/w, now it is invisible. I was able to get the image in 
another ...



> issues.apache.org
> This is also somewhat of a regression: two weeks ago, the attached file had 
> the image rendered in b/w, now it is invisible. I was able to get the image 
> in another ...
>
>
>
> issues.apache.org
> This is also somewhat of a regression: two weeks ago, the attached file had 
> the image rendered in b/w, now it is invisible. I was able to get the image 
> in another ...
>
>
>
> see the last two comments I made there. Without the change some files
> would not be rendered at all.
>
>
>> The old approach is better for our pourposes. Is there a way to revert
>> to the old rendering?
>>
> By using 2.0.4, obviously. Alternatively build from source code a 2.0.6
> version, and try to revert the commit mentioned in the issue above. It
> is possible because the change did not touch very much.
>
> But I'd still be interested in seeing your PDF.
>
> Tilman
>

Reply via email to