You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "jaragunde (via GitHub)" <gi...@apache.org> on 2026/07/09 10:06:58 UTC

[PR] Prevent rendering a bitmap when its effective size is 0. [poi]

jaragunde opened a new pull request, #1179:
URL: https://github.com/apache/poi/pull/1179

   A width or height of 0, either in the image or the cropping rectangle, means that effectively the image won't be rendered. Moreover, sizes of 0 in the cropping rectangle produce NaN values in the transformation matrix, which may crash or produce incorrect behavior depending on the Graphics2D implementation. For example, the included test file  will produce invalid SVG with Apache Batik's SVGGraphics2D.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Re: [PR] Prevent rendering a bitmap when its effective size is 0. [poi]

Posted by "jaragunde (via GitHub)" <gi...@apache.org>.
jaragunde merged PR #1179:
URL: https://github.com/apache/poi/pull/1179


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org