[Image] AdaptiveImageServlet: Image Cropping not working correctly since #1161 #1279
Labels
bug
Unexpected problem or unintended behavior that impairs normal functioning of the product.
Milestone
Bug Report
Current Behavior
The
AdaptiveImageServlet
no longer crops the area that an author has chosen.wrong cropping area.webm.zip
servlet throws.webm.zip
In case the servlet throws (I didn't see this in production code, probably because the client hasn't chosen such a small crop rect as I did in the video above) an exception like this is thrown (NB: imageCrop is set to
705,101,850,508
):Expected behavior/code
The area that I chose as an author should represent the cropped image.
Environment
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
) - Latest JDK 11Possible Solution
Additional context / Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.
Here you see the debugger in the "broken" version 2.12.2 reading the dimension from the rendition filename. I also manually executed
Imaging.getImageSize(getStream(), getName())
which reads the correct rendition width.I believe the rendition filename should be equal to the call of
Imaging.getImageSize
but it isn't.See #1161
The text was updated successfully, but these errors were encountered: