[
https://issues.apache.org/jira/browse/PDFBOX-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17914762#comment-17914762
]
ASF subversion and git services commented on PDFBOX-5937:
---------------------------------------------------------
Commit 1923275 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1923275 ]
PDFBOX-5937: avoid 0 dimension
> IllegalArgumentException: Width (0) and height (0) must be non-zero
> -------------------------------------------------------------------
>
> Key: PDFBOX-5937
> URL: https://issues.apache.org/jira/browse/PDFBOX-5937
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.0.33, 3.0.3 PDFBox
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Trivial
> Fix For: 2.0.34, 3.0.5 PDFBox, 4.0.0
>
>
> IllegalArgumentException: Width (0) and height (0) must be non-zero
>
> org.apache.pdfbox.debugger.streampane.StreamImageView.zoomImage(StreamImageView.java:104)
>
> org.apache.pdfbox.debugger.streampane.StreamImageView.initUI(StreamImageView.java:78)
>
> org.apache.pdfbox.debugger.streampane.StreamImageView.<init>(StreamImageView.java:64)
>
> org.apache.pdfbox.debugger.streampane.StreamPaneView.showStreamImage(StreamPaneView.java:62)
>
> org.apache.pdfbox.debugger.streampane.StreamPane.requestImageShowing(StreamPane.java:247)
>
> org.apache.pdfbox.debugger.streampane.StreamPane.<init>(StreamPane.java:149)
> org.apache.pdfbox.debugger.PDFDebugger.showStream(PDFDebugger.java:1156)
>
> This happens with small images and zooming to minimum. Solution: make sure
> that dimensions are at least 1.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]