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
Describe the bug
when i read a PSD file use this code bufferedImage = ImageIO.read(new File(srcFile));
it causes npe.
but not every psd will cause this exception,when i try other file ,it`s ok Version information
It seems we have incorrectly handled empty image resources section of PSDs, causing problems later when we search for the embedded color space. Do you happen to have a smaller sample file with this problem, that I can use in tests?
Anyway, fixed, hopefully released soon!
PS: For the future, please include version information and stack traces as text. 😀
@haraldk Thank you for your answer. But now, is there a temporary and right way before next version to read this PSD file? I would greatly appreciate your answer.
Describe the bug

when i read a PSD file use this code
bufferedImage = ImageIO.read(new File(srcFile));
it causes npe.
but not every psd will cause this exception,when i try other file ,it`s ok
Version information
Screenshots

psd file cause error
https://inner-bucket.s3.us-west-1.amazonaws.com/00001/3WlyxmnA/7be50b03-7c5a-4e5e-9ecc-b68b327b3598.psd
The text was updated successfully, but these errors were encountered: