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
BufferedImageOps actually have an 8-year old bug in the JDK that can cause the application of certain types of manipulations to fail with an exception or return a black/empty picture and no exception.
It is maddening.
Fortunately imgscalr works around this internally so all the BufferedImageOps passed in are handled correctly and avoid that failure case in the JDK.
This functionality should be extracted out into its own discrete method so anyone can safely (and efficiently) apply BufferedImageOps against their images even if they aren't performing a resize operation.
BufferedImageOps actually have an 8-year old bug in the JDK that can cause the application of certain types of manipulations to fail with an exception or return a black/empty picture and no exception.
It is maddening.
Fortunately imgscalr works around this internally so all the BufferedImageOps passed in are handled correctly and avoid that failure case in the JDK.
This functionality should be extracted out into its own discrete method so anyone can safely (and efficiently) apply BufferedImageOps against their images even if they aren't performing a resize operation.
This is in the same vein as Issue #49: #49
The text was updated successfully, but these errors were encountered: