You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the xquery functions exposed by the image module are not tested.
Support for imageIO varies between different Java engines, in particular openJDK has some nasty bugs, which are unlikely to get fixed any time soon. s.b.
Transformation functions inadvertently strip alpha channels in both jpg and png and convert them to black (or whatever default background color is defined elsewhere).
Crop and scale use heightxwidth in their function signature for dimensions, this is against the widely adopted standard which is widthxheight
What did you expect
unit tests for the various functions
working with JPEG images either results in (for non RGB color profiles)
02 Nov 2018 17:38:42,773 [qtp443401609-49] ERROR (CropFunction.java [eval]:154) - Unable to read image data!
or when running in openJDK (with supported jpeg)
<error type="java:java.lang.NoClassDefFoundError" message="Could not initialize class com.sun.imageio.plugins.jpeg.JPEGImageReader"/>
this means we can't process JPEG within our docker images
The colors in the following two images to look identical
original
transformed
image dimensions to follow common practice of walking down the hall to get to the elevator (Width x Height)
@duncdrum regarding the "Could not initialize class com.sun.imageio.plugins.jpeg.JPEGImageReader" ... this makes sense ; do you have a full trace? is this without the JAI module installed?
What is the problem
heightxwidth
in their function signature for dimensions, this is against the widely adopted standard which iswidthxheight
What did you expect
or when running in openJDK (with supported jpeg)
this means we can't process JPEG within our docker images
Width x Height
)Describe how to reproduce or add a test
Context information
Please always add the following information
The text was updated successfully, but these errors were encountered: