filepond-plugin-image-preview icon indicating copy to clipboard operation
filepond-plugin-image-preview copied to clipboard

Preview doesn't work if the JPEG image doesn't have an EOI marker

Open varunnayak opened this issue 4 years ago • 7 comments

If you try to upload an image which doesn't have an EOI marker blank preview is shown. This also effects the transform plugin when exif orientation correction is involved. I have tested on the Live Demo on Code Sandbox on Chrome (Version 86.0.4240.198) MacOS Catlina and Android 10 sample

varunnayak avatar Nov 18 '20 12:11 varunnayak

I've never ran into this issue. FilePond can render PNGs and bitmaps as well, and loads JPEGS without exif info. Please create a public test case and supply more information (browser version and os version you tested on). Will close until more details provided.

rikschennink avatar Nov 18 '20 12:11 rikschennink

I've never ran into this issue. FilePond can render PNGs and bitmaps as well, and loads JPEGS without exif info. Please create a public test case and supply more information (browser version and os version you tested on). Will close until more details provided.

Do you need any more information?

varunnayak avatar Nov 19 '20 13:11 varunnayak

@varunnayak the link doesn't point to codesandbox

rikschennink avatar Nov 19 '20 13:11 rikschennink

@varunnayak the link doesn't point to codesandbox

Have updated it. Its the same demo from react-filepond

varunnayak avatar Nov 19 '20 13:11 varunnayak

Ah I see. Okay, will look into it.

rikschennink avatar Nov 20 '20 10:11 rikschennink

@rikschennink Thanks. This issue is common with Panoramas captured using Samsung phones

varunnayak avatar Nov 20 '20 10:11 varunnayak

Finally had some more time to look into this, the problem doesn't appear on Firefox and Safari, it seems to be a Chrome/Blink issue. With a normal image tag Chrome also doesn't always render the image. I'm removing the "bug" label as it seems this is a Chrome issue.

rikschennink avatar Mar 02 '21 09:03 rikschennink