[jira] [Commented] (PDFBOX-4916) Use dedicated scale and translate operations instead of concatenate where possible

2020-07-16 Thread Alfred (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159724#comment-17159724
 ] 

Alfred commented on PDFBOX-4916:


Looks good!

> Use dedicated scale and translate operations instead of concatenate where 
> possible
> --
>
> Key: PDFBOX-4916
> URL: https://issues.apache.org/jira/browse/PDFBOX-4916
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Text extraction
>Affects Versions: 2.0.20, 3.0.0 PDFBox
>Reporter: Alfred
>Assignee: Andreas Lehmkühler
>Priority: Minor
> Attachments: PDFBOX-4916.patch
>
>
> LegacyPDFStreamEngine does translating and scaling using the generic 
> concatenate matrix ops.
> A scale or a translate require much less multiplications and so there's room 
> to improve there.
> I have the code ready and I will submit a patch right away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-4916) Use dedicated scale and translate operations instead of concatenate where possible

2020-07-16 Thread Jira


[ 
https://issues.apache.org/jira/browse/PDFBOX-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159717#comment-17159717
 ] 

Andreas Lehmkühler commented on PDFBOX-4916:


[~Faltiska] I've added your patch and some additional optimization. I'm 
planning to add some more tests as well

> Use dedicated scale and translate operations instead of concatenate where 
> possible
> --
>
> Key: PDFBOX-4916
> URL: https://issues.apache.org/jira/browse/PDFBOX-4916
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Text extraction
>Affects Versions: 2.0.20, 3.0.0 PDFBox
>Reporter: Alfred
>Assignee: Andreas Lehmkühler
>Priority: Minor
> Attachments: PDFBOX-4916.patch
>
>
> LegacyPDFStreamEngine does translating and scaling using the generic 
> concatenate matrix ops.
> A scale or a translate require much less multiplications and so there's room 
> to improve there.
> I have the code ready and I will submit a patch right away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-4916) Use dedicated scale and translate operations instead of concatenate where possible

2020-07-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159715#comment-17159715
 ] 

ASF subversion and git services commented on PDFBOX-4916:
-

Commit 1879983 from le...@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1879983 ]

PDFBOX-4916: don't create new arrays when scaling/translating matrices

> Use dedicated scale and translate operations instead of concatenate where 
> possible
> --
>
> Key: PDFBOX-4916
> URL: https://issues.apache.org/jira/browse/PDFBOX-4916
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Text extraction
>Affects Versions: 2.0.20, 3.0.0 PDFBox
>Reporter: Alfred
>Assignee: Andreas Lehmkühler
>Priority: Minor
> Attachments: PDFBOX-4916.patch
>
>
> LegacyPDFStreamEngine does translating and scaling using the generic 
> concatenate matrix ops.
> A scale or a translate require much less multiplications and so there's room 
> to improve there.
> I have the code ready and I will submit a patch right away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-4916) Use dedicated scale and translate operations instead of concatenate where possible

2020-07-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159711#comment-17159711
 ] 

ASF subversion and git services commented on PDFBOX-4916:
-

Commit 1879982 from le...@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1879982 ]

PDFBOX-4916: use dedicated scale and translate operations instead of 
concatenate where possible as proposed by Alfred Faltiska

> Use dedicated scale and translate operations instead of concatenate where 
> possible
> --
>
> Key: PDFBOX-4916
> URL: https://issues.apache.org/jira/browse/PDFBOX-4916
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Text extraction
>Affects Versions: 2.0.20, 3.0.0 PDFBox
>Reporter: Alfred
>Assignee: Andreas Lehmkühler
>Priority: Minor
> Attachments: PDFBOX-4916.patch
>
>
> LegacyPDFStreamEngine does translating and scaling using the generic 
> concatenate matrix ops.
> A scale or a translate require much less multiplications and so there's room 
> to improve there.
> I have the code ready and I will submit a patch right away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Assigned] (PDFBOX-4916) Use dedicated scale and translate operations instead of concatenate where possible

2020-07-16 Thread Jira


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

Andreas Lehmkühler reassigned PDFBOX-4916:
--

Assignee: Andreas Lehmkühler

> Use dedicated scale and translate operations instead of concatenate where 
> possible
> --
>
> Key: PDFBOX-4916
> URL: https://issues.apache.org/jira/browse/PDFBOX-4916
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Text extraction
>Affects Versions: 2.0.20, 3.0.0 PDFBox
>Reporter: Alfred
>Assignee: Andreas Lehmkühler
>Priority: Minor
> Attachments: PDFBOX-4916.patch
>
>
> LegacyPDFStreamEngine does translating and scaling using the generic 
> concatenate matrix ops.
> A scale or a translate require much less multiplications and so there's room 
> to improve there.
> I have the code ready and I will submit a patch right away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Comment Edited] (PDFBOX-4917) Images are blurry after updating to 2.0.20

2020-07-16 Thread Tilman Hausherr (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159637#comment-17159637
 ] 

Tilman Hausherr edited comment on PDFBOX-4917 at 7/17/20, 3:06 AM:
---

Most likely duplicate of PDFBOX-4863 (title is misleading). And yes, that one 
was related to fixing PDFBOX-4516.


was (Author: tilman):
Most likely duplicate of PDFBOX-4863 (title is misleading)

> Images are blurry after updating to 2.0.20
> --
>
> Key: PDFBOX-4917
> URL: https://issues.apache.org/jira/browse/PDFBOX-4917
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.20
>Reporter: Daniel Persson
>Priority: Critical
>  Labels: regression
> Attachments: PDFBOX-4917-2.0.21.jpg, issue.pdf, 
> pdfbox-app-2.0.19.jpg, pdfbox-app-2.0.20.jpg
>
>
> Hi team.
> We have noticed that after updating to PDFBox to 2.0.20 some images are 
> blurry and unreadable even in 300 DPI.
> We have rendered both these images with the same parameters just different 
> versions of PDFBox.
> {code:java}
> java -jar pdfbox-app-2.0.19.jar PDFToImage -dpi 300 -quality 0.95 issue.pdf
> java -jar pdfbox-app-2.0.20.jar PDFToImage -dpi 300 -quality 0.95 
> issue.pdf{code}
> Hope we can find a solution to this problem, perhaps it is related to 
> PDFBOX-4516?
> Best regards
> Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Closed] (PDFBOX-4917) Images are blurry after updating to 2.0.20

2020-07-16 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr closed PDFBOX-4917.
---
Resolution: Duplicate

> Images are blurry after updating to 2.0.20
> --
>
> Key: PDFBOX-4917
> URL: https://issues.apache.org/jira/browse/PDFBOX-4917
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.20
>Reporter: Daniel Persson
>Priority: Critical
>  Labels: regression
> Attachments: PDFBOX-4917-2.0.21.jpg, issue.pdf, 
> pdfbox-app-2.0.19.jpg, pdfbox-app-2.0.20.jpg
>
>
> Hi team.
> We have noticed that after updating to PDFBox to 2.0.20 some images are 
> blurry and unreadable even in 300 DPI.
> We have rendered both these images with the same parameters just different 
> versions of PDFBox.
> {code:java}
> java -jar pdfbox-app-2.0.19.jar PDFToImage -dpi 300 -quality 0.95 issue.pdf
> java -jar pdfbox-app-2.0.20.jar PDFToImage -dpi 300 -quality 0.95 
> issue.pdf{code}
> Hope we can find a solution to this problem, perhaps it is related to 
> PDFBOX-4516?
> Best regards
> Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PDFBOX-4917) Images are blurry after updating to 2.0.20

2020-07-16 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr updated PDFBOX-4917:

Labels: regression  (was: )

> Images are blurry after updating to 2.0.20
> --
>
> Key: PDFBOX-4917
> URL: https://issues.apache.org/jira/browse/PDFBOX-4917
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.20
>Reporter: Daniel Persson
>Priority: Critical
>  Labels: regression
> Attachments: PDFBOX-4917-2.0.21.jpg, issue.pdf, 
> pdfbox-app-2.0.19.jpg, pdfbox-app-2.0.20.jpg
>
>
> Hi team.
> We have noticed that after updating to PDFBox to 2.0.20 some images are 
> blurry and unreadable even in 300 DPI.
> We have rendered both these images with the same parameters just different 
> versions of PDFBox.
> {code:java}
> java -jar pdfbox-app-2.0.19.jar PDFToImage -dpi 300 -quality 0.95 issue.pdf
> java -jar pdfbox-app-2.0.20.jar PDFToImage -dpi 300 -quality 0.95 
> issue.pdf{code}
> Hope we can find a solution to this problem, perhaps it is related to 
> PDFBOX-4516?
> Best regards
> Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Issue Comment Deleted] (PDFBOX-4917) Images are blurry after updating to 2.0.20

2020-07-16 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr updated PDFBOX-4917:

Comment: was deleted

(was: And yes, that one was related to fixing PDFBOX-4516.)

> Images are blurry after updating to 2.0.20
> --
>
> Key: PDFBOX-4917
> URL: https://issues.apache.org/jira/browse/PDFBOX-4917
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.20
>Reporter: Daniel Persson
>Priority: Critical
>  Labels: regression
> Attachments: PDFBOX-4917-2.0.21.jpg, issue.pdf, 
> pdfbox-app-2.0.19.jpg, pdfbox-app-2.0.20.jpg
>
>
> Hi team.
> We have noticed that after updating to PDFBox to 2.0.20 some images are 
> blurry and unreadable even in 300 DPI.
> We have rendered both these images with the same parameters just different 
> versions of PDFBox.
> {code:java}
> java -jar pdfbox-app-2.0.19.jar PDFToImage -dpi 300 -quality 0.95 issue.pdf
> java -jar pdfbox-app-2.0.20.jar PDFToImage -dpi 300 -quality 0.95 
> issue.pdf{code}
> Hope we can find a solution to this problem, perhaps it is related to 
> PDFBOX-4516?
> Best regards
> Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-4917) Images are blurry after updating to 2.0.20

2020-07-16 Thread Tilman Hausherr (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159639#comment-17159639
 ] 

Tilman Hausherr commented on PDFBOX-4917:
-

And yes, that one was related to fixing PDFBOX-4516.

> Images are blurry after updating to 2.0.20
> --
>
> Key: PDFBOX-4917
> URL: https://issues.apache.org/jira/browse/PDFBOX-4917
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.20
>Reporter: Daniel Persson
>Priority: Critical
> Fix For: PDFBOX-4863
>
> Attachments: PDFBOX-4917-2.0.21.jpg, issue.pdf, 
> pdfbox-app-2.0.19.jpg, pdfbox-app-2.0.20.jpg
>
>
> Hi team.
> We have noticed that after updating to PDFBox to 2.0.20 some images are 
> blurry and unreadable even in 300 DPI.
> We have rendered both these images with the same parameters just different 
> versions of PDFBox.
> {code:java}
> java -jar pdfbox-app-2.0.19.jar PDFToImage -dpi 300 -quality 0.95 issue.pdf
> java -jar pdfbox-app-2.0.20.jar PDFToImage -dpi 300 -quality 0.95 
> issue.pdf{code}
> Hope we can find a solution to this problem, perhaps it is related to 
> PDFBOX-4516?
> Best regards
> Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PDFBOX-4917) Images are blurry after updating to 2.0.20

2020-07-16 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr updated PDFBOX-4917:

Fix Version/s: (was: PDFBOX-4863)

> Images are blurry after updating to 2.0.20
> --
>
> Key: PDFBOX-4917
> URL: https://issues.apache.org/jira/browse/PDFBOX-4917
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.20
>Reporter: Daniel Persson
>Priority: Critical
> Attachments: PDFBOX-4917-2.0.21.jpg, issue.pdf, 
> pdfbox-app-2.0.19.jpg, pdfbox-app-2.0.20.jpg
>
>
> Hi team.
> We have noticed that after updating to PDFBox to 2.0.20 some images are 
> blurry and unreadable even in 300 DPI.
> We have rendered both these images with the same parameters just different 
> versions of PDFBox.
> {code:java}
> java -jar pdfbox-app-2.0.19.jar PDFToImage -dpi 300 -quality 0.95 issue.pdf
> java -jar pdfbox-app-2.0.20.jar PDFToImage -dpi 300 -quality 0.95 
> issue.pdf{code}
> Hope we can find a solution to this problem, perhaps it is related to 
> PDFBOX-4516?
> Best regards
> Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Reopened] (PDFBOX-4917) Images are blurry after updating to 2.0.20

2020-07-16 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr reopened PDFBOX-4917:
-

> Images are blurry after updating to 2.0.20
> --
>
> Key: PDFBOX-4917
> URL: https://issues.apache.org/jira/browse/PDFBOX-4917
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.20
>Reporter: Daniel Persson
>Priority: Critical
> Fix For: PDFBOX-4863
>
> Attachments: PDFBOX-4917-2.0.21.jpg, issue.pdf, 
> pdfbox-app-2.0.19.jpg, pdfbox-app-2.0.20.jpg
>
>
> Hi team.
> We have noticed that after updating to PDFBox to 2.0.20 some images are 
> blurry and unreadable even in 300 DPI.
> We have rendered both these images with the same parameters just different 
> versions of PDFBox.
> {code:java}
> java -jar pdfbox-app-2.0.19.jar PDFToImage -dpi 300 -quality 0.95 issue.pdf
> java -jar pdfbox-app-2.0.20.jar PDFToImage -dpi 300 -quality 0.95 
> issue.pdf{code}
> Hope we can find a solution to this problem, perhaps it is related to 
> PDFBOX-4516?
> Best regards
> Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Closed] (PDFBOX-4917) Images are blurry after updating to 2.0.20

2020-07-16 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr closed PDFBOX-4917.
---
Fix Version/s: PDFBOX-4863
   Resolution: Duplicate

Most likely duplicate of PDFBOX-4863 (title is misleading)

> Images are blurry after updating to 2.0.20
> --
>
> Key: PDFBOX-4917
> URL: https://issues.apache.org/jira/browse/PDFBOX-4917
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.20
>Reporter: Daniel Persson
>Priority: Critical
> Fix For: PDFBOX-4863
>
> Attachments: PDFBOX-4917-2.0.21.jpg, issue.pdf, 
> pdfbox-app-2.0.19.jpg, pdfbox-app-2.0.20.jpg
>
>
> Hi team.
> We have noticed that after updating to PDFBox to 2.0.20 some images are 
> blurry and unreadable even in 300 DPI.
> We have rendered both these images with the same parameters just different 
> versions of PDFBox.
> {code:java}
> java -jar pdfbox-app-2.0.19.jar PDFToImage -dpi 300 -quality 0.95 issue.pdf
> java -jar pdfbox-app-2.0.20.jar PDFToImage -dpi 300 -quality 0.95 
> issue.pdf{code}
> Hope we can find a solution to this problem, perhaps it is related to 
> PDFBOX-4516?
> Best regards
> Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PDFBOX-4917) Images are blurry after updating to 2.0.20

2020-07-16 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr updated PDFBOX-4917:

Component/s: Rendering

> Images are blurry after updating to 2.0.20
> --
>
> Key: PDFBOX-4917
> URL: https://issues.apache.org/jira/browse/PDFBOX-4917
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.20
>Reporter: Daniel Persson
>Priority: Critical
> Attachments: PDFBOX-4917-2.0.21.jpg, issue.pdf, 
> pdfbox-app-2.0.19.jpg, pdfbox-app-2.0.20.jpg
>
>
> Hi team.
> We have noticed that after updating to PDFBox to 2.0.20 some images are 
> blurry and unreadable even in 300 DPI.
> We have rendered both these images with the same parameters just different 
> versions of PDFBox.
> {code:java}
> java -jar pdfbox-app-2.0.19.jar PDFToImage -dpi 300 -quality 0.95 issue.pdf
> java -jar pdfbox-app-2.0.20.jar PDFToImage -dpi 300 -quality 0.95 
> issue.pdf{code}
> Hope we can find a solution to this problem, perhaps it is related to 
> PDFBOX-4516?
> Best regards
> Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PDFBOX-4917) Images are blurry after updating to 2.0.20

2020-07-16 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr updated PDFBOX-4917:

Attachment: PDFBOX-4917-2.0.21.jpg

> Images are blurry after updating to 2.0.20
> --
>
> Key: PDFBOX-4917
> URL: https://issues.apache.org/jira/browse/PDFBOX-4917
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 2.0.20
>Reporter: Daniel Persson
>Priority: Critical
> Attachments: PDFBOX-4917-2.0.21.jpg, issue.pdf, 
> pdfbox-app-2.0.19.jpg, pdfbox-app-2.0.20.jpg
>
>
> Hi team.
> We have noticed that after updating to PDFBox to 2.0.20 some images are 
> blurry and unreadable even in 300 DPI.
> We have rendered both these images with the same parameters just different 
> versions of PDFBox.
> {code:java}
> java -jar pdfbox-app-2.0.19.jar PDFToImage -dpi 300 -quality 0.95 issue.pdf
> java -jar pdfbox-app-2.0.20.jar PDFToImage -dpi 300 -quality 0.95 
> issue.pdf{code}
> Hope we can find a solution to this problem, perhaps it is related to 
> PDFBOX-4516?
> Best regards
> Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PDFBOX-4917) Images are blurry after updating to 2.0.20

2020-07-16 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr updated PDFBOX-4917:

Attachment: (was: PDFBOX-4917-2.0.21.jpg)

> Images are blurry after updating to 2.0.20
> --
>
> Key: PDFBOX-4917
> URL: https://issues.apache.org/jira/browse/PDFBOX-4917
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 2.0.20
>Reporter: Daniel Persson
>Priority: Critical
> Attachments: PDFBOX-4917-2.0.21.jpg, issue.pdf, 
> pdfbox-app-2.0.19.jpg, pdfbox-app-2.0.20.jpg
>
>
> Hi team.
> We have noticed that after updating to PDFBox to 2.0.20 some images are 
> blurry and unreadable even in 300 DPI.
> We have rendered both these images with the same parameters just different 
> versions of PDFBox.
> {code:java}
> java -jar pdfbox-app-2.0.19.jar PDFToImage -dpi 300 -quality 0.95 issue.pdf
> java -jar pdfbox-app-2.0.20.jar PDFToImage -dpi 300 -quality 0.95 
> issue.pdf{code}
> Hope we can find a solution to this problem, perhaps it is related to 
> PDFBOX-4516?
> Best regards
> Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PDFBOX-4917) Images are blurry after updating to 2.0.20

2020-07-16 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr updated PDFBOX-4917:

Attachment: PDFBOX-4917-2.0.21.jpg

> Images are blurry after updating to 2.0.20
> --
>
> Key: PDFBOX-4917
> URL: https://issues.apache.org/jira/browse/PDFBOX-4917
> Project: PDFBox
>  Issue Type: Bug
>Reporter: Daniel Persson
>Priority: Critical
> Attachments: PDFBOX-4917-2.0.21.jpg, issue.pdf, 
> pdfbox-app-2.0.19.jpg, pdfbox-app-2.0.20.jpg
>
>
> Hi team.
> We have noticed that after updating to PDFBox to 2.0.20 some images are 
> blurry and unreadable even in 300 DPI.
> We have rendered both these images with the same parameters just different 
> versions of PDFBox.
> {code:java}
> java -jar pdfbox-app-2.0.19.jar PDFToImage -dpi 300 -quality 0.95 issue.pdf
> java -jar pdfbox-app-2.0.20.jar PDFToImage -dpi 300 -quality 0.95 
> issue.pdf{code}
> Hope we can find a solution to this problem, perhaps it is related to 
> PDFBOX-4516?
> Best regards
> Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PDFBOX-4917) Images are blurry after updating to 2.0.20

2020-07-16 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr updated PDFBOX-4917:

Affects Version/s: 2.0.20

> Images are blurry after updating to 2.0.20
> --
>
> Key: PDFBOX-4917
> URL: https://issues.apache.org/jira/browse/PDFBOX-4917
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 2.0.20
>Reporter: Daniel Persson
>Priority: Critical
> Attachments: PDFBOX-4917-2.0.21.jpg, issue.pdf, 
> pdfbox-app-2.0.19.jpg, pdfbox-app-2.0.20.jpg
>
>
> Hi team.
> We have noticed that after updating to PDFBox to 2.0.20 some images are 
> blurry and unreadable even in 300 DPI.
> We have rendered both these images with the same parameters just different 
> versions of PDFBox.
> {code:java}
> java -jar pdfbox-app-2.0.19.jar PDFToImage -dpi 300 -quality 0.95 issue.pdf
> java -jar pdfbox-app-2.0.20.jar PDFToImage -dpi 300 -quality 0.95 
> issue.pdf{code}
> Hope we can find a solution to this problem, perhaps it is related to 
> PDFBOX-4516?
> Best regards
> Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-4917) Images are blurry after updating to 2.0.20

2020-07-16 Thread Daniel Persson (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159438#comment-17159438
 ] 

Daniel Persson commented on PDFBOX-4917:


Hi again, update.

 

I did a git checkout on the 2.0 branch and tested to run the application there, 
and the image created on that branch did not have the issue mentioned above. 
Perhaps you can just verify if solved in the upcoming release. If so, we will 
be waiting patiently for the release of the coming weeks.

 

Best regards

Daniel

> Images are blurry after updating to 2.0.20
> --
>
> Key: PDFBOX-4917
> URL: https://issues.apache.org/jira/browse/PDFBOX-4917
> Project: PDFBox
>  Issue Type: Bug
>Reporter: Daniel Persson
>Priority: Critical
> Attachments: issue.pdf, pdfbox-app-2.0.19.jpg, pdfbox-app-2.0.20.jpg
>
>
> Hi team.
> We have noticed that after updating to PDFBox to 2.0.20 some images are 
> blurry and unreadable even in 300 DPI.
> We have rendered both these images with the same parameters just different 
> versions of PDFBox.
> {code:java}
> java -jar pdfbox-app-2.0.19.jar PDFToImage -dpi 300 -quality 0.95 issue.pdf
> java -jar pdfbox-app-2.0.20.jar PDFToImage -dpi 300 -quality 0.95 
> issue.pdf{code}
> Hope we can find a solution to this problem, perhaps it is related to 
> PDFBOX-4516?
> Best regards
> Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Created] (PDFBOX-4917) Images are blurry after updating to 2.0.20

2020-07-16 Thread Daniel Persson (Jira)
Daniel Persson created PDFBOX-4917:
--

 Summary: Images are blurry after updating to 2.0.20
 Key: PDFBOX-4917
 URL: https://issues.apache.org/jira/browse/PDFBOX-4917
 Project: PDFBox
  Issue Type: Bug
Reporter: Daniel Persson
 Attachments: issue.pdf, pdfbox-app-2.0.19.jpg, pdfbox-app-2.0.20.jpg

Hi team.

We have noticed that after updating to PDFBox to 2.0.20 some images are blurry 
and unreadable even in 300 DPI.

We have rendered both these images with the same parameters just different 
versions of PDFBox.
{code:java}
java -jar pdfbox-app-2.0.19.jar PDFToImage -dpi 300 -quality 0.95 issue.pdf

java -jar pdfbox-app-2.0.20.jar PDFToImage -dpi 300 -quality 0.95 
issue.pdf{code}
Hope we can find a solution to this problem, perhaps it is related to 
PDFBOX-4516?

Best regards

Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PDFBOX-4917) Images are blurry after updating to 2.0.20

2020-07-16 Thread Daniel Persson (Jira)


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

Daniel Persson updated PDFBOX-4917:
---
Attachment: pdfbox-app-2.0.20.jpg
pdfbox-app-2.0.19.jpg
issue.pdf

> Images are blurry after updating to 2.0.20
> --
>
> Key: PDFBOX-4917
> URL: https://issues.apache.org/jira/browse/PDFBOX-4917
> Project: PDFBox
>  Issue Type: Bug
>Reporter: Daniel Persson
>Priority: Critical
> Attachments: issue.pdf, pdfbox-app-2.0.19.jpg, pdfbox-app-2.0.20.jpg
>
>
> Hi team.
> We have noticed that after updating to PDFBox to 2.0.20 some images are 
> blurry and unreadable even in 300 DPI.
> We have rendered both these images with the same parameters just different 
> versions of PDFBox.
> {code:java}
> java -jar pdfbox-app-2.0.19.jar PDFToImage -dpi 300 -quality 0.95 issue.pdf
> java -jar pdfbox-app-2.0.20.jar PDFToImage -dpi 300 -quality 0.95 
> issue.pdf{code}
> Hope we can find a solution to this problem, perhaps it is related to 
> PDFBOX-4516?
> Best regards
> Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Comment Edited] (PDFBOX-4916) Use dedicated scale and translate operations instead of concatenate where possible

2020-07-16 Thread Alfred (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17158079#comment-17158079
 ] 

Alfred edited comment on PDFBOX-4916 at 7/16/20, 6:01 PM:
--

This is the patch: [^PDFBOX-4916.patch]

 

This is the review: https://diffy.org/diff/r38v3tlh1os9ffkgpqvl8r529


was (Author: faltiska):
This is the patch: [^PDFBOX-4916.patch]

 

This is the review: https://diffy.org/diff/2t2i5xw7fyhmykjdnp34kxd2t9

> Use dedicated scale and translate operations instead of concatenate where 
> possible
> --
>
> Key: PDFBOX-4916
> URL: https://issues.apache.org/jira/browse/PDFBOX-4916
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Text extraction
>Affects Versions: 2.0.20, 3.0.0 PDFBox
>Reporter: Alfred
>Priority: Minor
> Attachments: PDFBOX-4916.patch
>
>
> LegacyPDFStreamEngine does translating and scaling using the generic 
> concatenate matrix ops.
> A scale or a translate require much less multiplications and so there's room 
> to improve there.
> I have the code ready and I will submit a patch right away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-3017) Improve document signing

2020-07-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-3017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159377#comment-17159377
 ] 

ASF subversion and git services commented on PDFBOX-3017:
-

Commit 1879971 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1879971 ]

PDFBOX-3017: improve messages

> Improve document signing
> 
>
> Key: PDFBOX-3017
> URL: https://issues.apache.org/jira/browse/PDFBOX-3017
> Project: PDFBox
>  Issue Type: Improvement
>  Components: AcroForm, Signing
>Affects Versions: 2.0.0, 3.0.0 PDFBox
>Reporter: Tilman Hausherr
>Priority: Major
> Fix For: 3.0.0 PDFBox
>
> Attachments: PDFBOX-3017_certificate_chain.diff, 
> PDFBOX-3017_certificate_chain_Screenshot.png, QV_RCA1_RCA3_CPCPS_V4_11.pdf, 
> SO52757037-Signed3-OCSP-with-KeyHash.pdf, pdfa_signed_insivible.pdf
>
>
> Improve signing code:
> - incremental save only works for signatures and doesn't respect certificates 
> such as Adobe Extended Usage Rights
> - -{{prepareNonVisualSignature}} clears the AcroForm DR 
> {{acroForm.setDefaultResources(null)}} which is not good if there are other 
> form fields-
> - visual/nonVisualSignature should move into the {{interactive.forms}} 
> package and be handled within the signature field
> - -verify signature (to have tests that go full circle)- done June 2016
> - document or refactor / rewrite visible labyrinthine signature code
> - why is it not possible to pass only the signatureField to addSignature, 
> instead having to create a COSDocument with a page and annotations that has 
> the signature field, and that must be searched for in 
> {{prepareVisibleSignature()}}?
> - -support rotated pages (see 
> https://stackoverflow.com/questions/34012293/pdfbox-sign-landscape-file-error/34359956#34359956
>  )- done in PDFBOX-3671
> - -make sure that signed PDF/A files are still PDF/A (see 
> http://www.pdfa.org/wp-content/uploads/2011/08/tn0006_digital_signatures_in_pdfa-1_2008-03-14.pdf
>  ); /ID possibly not OK; /Annots is possibly required ([~tilman] removed this 
> for invisible signatures); test signed files with PDF-Tools and with 
> preflight- tested, they are OK with PDF-Tools and preflight
> - test whether "bad" signatures are detected by preflight (search in old 
> issues)
> - -PDFBOX-3363 - why is the stream cached in a file? Should it be done in 
> memory?- done on July 15, 2016
> - remove {{setVisualSignature(PDVisibleSigProperties 
> visSignatureProperties)}} from SignatureOptions.java, all it does is to call 
> {{visSignatureProperties.getVisibleSignature()}} which returns an 
> {{InputStream}}, and this is already available
> - {{checkSignatureField}} violates the "do one thing" rule
> - -decide whether the whole certificate chain should be passed in the sample 
> code, instead of only the first one- yes the whole chain is stored
> - -check certificate chain, revocation lists, etc,- only if needed by users, 
> code 
> [here|https://svn.apache.org/repos/asf/cxf/tags/cxf-2.4.1/distribution/src/main/release/samples/sts_issue_operation/src/main/java/demo/sts/provider/cert/]
> - deprecate / remove all PDVisibleSignDesigner constructors except those with 
> a PDDocument object, to avoid a file being opened twice
> - ... your ideas...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-3017) Improve document signing

2020-07-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-3017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159376#comment-17159376
 ] 

ASF subversion and git services commented on PDFBOX-3017:
-

Commit 1879970 from Tilman Hausherr in branch 'pdfbox/branches/issue45'
[ https://svn.apache.org/r1879970 ]

PDFBOX-3017: improve messages

> Improve document signing
> 
>
> Key: PDFBOX-3017
> URL: https://issues.apache.org/jira/browse/PDFBOX-3017
> Project: PDFBox
>  Issue Type: Improvement
>  Components: AcroForm, Signing
>Affects Versions: 2.0.0, 3.0.0 PDFBox
>Reporter: Tilman Hausherr
>Priority: Major
> Fix For: 3.0.0 PDFBox
>
> Attachments: PDFBOX-3017_certificate_chain.diff, 
> PDFBOX-3017_certificate_chain_Screenshot.png, QV_RCA1_RCA3_CPCPS_V4_11.pdf, 
> SO52757037-Signed3-OCSP-with-KeyHash.pdf, pdfa_signed_insivible.pdf
>
>
> Improve signing code:
> - incremental save only works for signatures and doesn't respect certificates 
> such as Adobe Extended Usage Rights
> - -{{prepareNonVisualSignature}} clears the AcroForm DR 
> {{acroForm.setDefaultResources(null)}} which is not good if there are other 
> form fields-
> - visual/nonVisualSignature should move into the {{interactive.forms}} 
> package and be handled within the signature field
> - -verify signature (to have tests that go full circle)- done June 2016
> - document or refactor / rewrite visible labyrinthine signature code
> - why is it not possible to pass only the signatureField to addSignature, 
> instead having to create a COSDocument with a page and annotations that has 
> the signature field, and that must be searched for in 
> {{prepareVisibleSignature()}}?
> - -support rotated pages (see 
> https://stackoverflow.com/questions/34012293/pdfbox-sign-landscape-file-error/34359956#34359956
>  )- done in PDFBOX-3671
> - -make sure that signed PDF/A files are still PDF/A (see 
> http://www.pdfa.org/wp-content/uploads/2011/08/tn0006_digital_signatures_in_pdfa-1_2008-03-14.pdf
>  ); /ID possibly not OK; /Annots is possibly required ([~tilman] removed this 
> for invisible signatures); test signed files with PDF-Tools and with 
> preflight- tested, they are OK with PDF-Tools and preflight
> - test whether "bad" signatures are detected by preflight (search in old 
> issues)
> - -PDFBOX-3363 - why is the stream cached in a file? Should it be done in 
> memory?- done on July 15, 2016
> - remove {{setVisualSignature(PDVisibleSigProperties 
> visSignatureProperties)}} from SignatureOptions.java, all it does is to call 
> {{visSignatureProperties.getVisibleSignature()}} which returns an 
> {{InputStream}}, and this is already available
> - {{checkSignatureField}} violates the "do one thing" rule
> - -decide whether the whole certificate chain should be passed in the sample 
> code, instead of only the first one- yes the whole chain is stored
> - -check certificate chain, revocation lists, etc,- only if needed by users, 
> code 
> [here|https://svn.apache.org/repos/asf/cxf/tags/cxf-2.4.1/distribution/src/main/release/samples/sts_issue_operation/src/main/java/demo/sts/provider/cert/]
> - deprecate / remove all PDVisibleSignDesigner constructors except those with 
> a PDDocument object, to avoid a file being opened twice
> - ... your ideas...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (PDFBOX-3017) Improve document signing

2020-07-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-3017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159375#comment-17159375
 ] 

ASF subversion and git services commented on PDFBOX-3017:
-

Commit 1879969 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1879969 ]

PDFBOX-3017: improve messages

> Improve document signing
> 
>
> Key: PDFBOX-3017
> URL: https://issues.apache.org/jira/browse/PDFBOX-3017
> Project: PDFBox
>  Issue Type: Improvement
>  Components: AcroForm, Signing
>Affects Versions: 2.0.0, 3.0.0 PDFBox
>Reporter: Tilman Hausherr
>Priority: Major
> Fix For: 3.0.0 PDFBox
>
> Attachments: PDFBOX-3017_certificate_chain.diff, 
> PDFBOX-3017_certificate_chain_Screenshot.png, QV_RCA1_RCA3_CPCPS_V4_11.pdf, 
> SO52757037-Signed3-OCSP-with-KeyHash.pdf, pdfa_signed_insivible.pdf
>
>
> Improve signing code:
> - incremental save only works for signatures and doesn't respect certificates 
> such as Adobe Extended Usage Rights
> - -{{prepareNonVisualSignature}} clears the AcroForm DR 
> {{acroForm.setDefaultResources(null)}} which is not good if there are other 
> form fields-
> - visual/nonVisualSignature should move into the {{interactive.forms}} 
> package and be handled within the signature field
> - -verify signature (to have tests that go full circle)- done June 2016
> - document or refactor / rewrite visible labyrinthine signature code
> - why is it not possible to pass only the signatureField to addSignature, 
> instead having to create a COSDocument with a page and annotations that has 
> the signature field, and that must be searched for in 
> {{prepareVisibleSignature()}}?
> - -support rotated pages (see 
> https://stackoverflow.com/questions/34012293/pdfbox-sign-landscape-file-error/34359956#34359956
>  )- done in PDFBOX-3671
> - -make sure that signed PDF/A files are still PDF/A (see 
> http://www.pdfa.org/wp-content/uploads/2011/08/tn0006_digital_signatures_in_pdfa-1_2008-03-14.pdf
>  ); /ID possibly not OK; /Annots is possibly required ([~tilman] removed this 
> for invisible signatures); test signed files with PDF-Tools and with 
> preflight- tested, they are OK with PDF-Tools and preflight
> - test whether "bad" signatures are detected by preflight (search in old 
> issues)
> - -PDFBOX-3363 - why is the stream cached in a file? Should it be done in 
> memory?- done on July 15, 2016
> - remove {{setVisualSignature(PDVisibleSigProperties 
> visSignatureProperties)}} from SignatureOptions.java, all it does is to call 
> {{visSignatureProperties.getVisibleSignature()}} which returns an 
> {{InputStream}}, and this is already available
> - {{checkSignatureField}} violates the "do one thing" rule
> - -decide whether the whole certificate chain should be passed in the sample 
> code, instead of only the first one- yes the whole chain is stored
> - -check certificate chain, revocation lists, etc,- only if needed by users, 
> code 
> [here|https://svn.apache.org/repos/asf/cxf/tags/cxf-2.4.1/distribution/src/main/release/samples/sts_issue_operation/src/main/java/demo/sts/provider/cert/]
> - deprecate / remove all PDVisibleSignDesigner constructors except those with 
> a PDDocument object, to avoid a file being opened twice
> - ... your ideas...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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