Resizer icon indicating copy to clipboard operation
Resizer copied to clipboard

ExifMetadataReader.php error in MODx Logs with PNG images

Open pixelstuff opened this issue 2 years ago • 1 comments

In MODx 3.0.4 and PHP 8.1 I'm getting error messages whenever a PNG image is trying to be resized by pThumb. MODx 2.85 with PHP 8.0 doesn't show the following errors.

ROOTFOLDER/core/components/resizer/model/vendor/imagine/imagine/lib/Imagine/Image/Metadata/ExifMetadataReader.php : 97) PHP warning: exif_read_data(image.png): File not supported

ALSO, in case this is related, the site has plenty of JPG images, but I have a single jpg image generating this error message.

ROOTFOLDER/core/components/resizer/model/vendor/imagine/imagine/lib/Imagine/Image/Metadata/ExifMetadataReader.php : 97) PHP warning: exif_read_data(image.jpg): Incorrect APP1 Exif Identifier Code

pixelstuff avatar Oct 11 '23 22:10 pixelstuff

+1

lottaar avatar Mar 12 '24 11:03 lottaar