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
I am uploading 8 bit grayscale images from Adobe Photoshop. I would like the images to be resized, and keep the exif data after upload. When imageTransformOutputStripImageHead is set to false, the image appears pink after upload. In the image transform plugin, I can comment out this code, and the transform will not have the error: // re-inject image head in case of JPEG, as the image head is removed by canvas export if (imageHead !== null) { blob = new Blob([imageHead, blob.slice(20)], { type: blob.type, }); }
In the imagetransform plugin - getImageHead() function, I guess the header info is sliced differently with the 8 bit image?
8 Bit Grayscale images exported from GIMP do not have this issue, only images from Adobe photoshop.
Any help is appreciated thanks.
Reproduction
I have attached an example image, if filepond is used with the transform plugin, with imageTransformOutputStripImageHead set to false, the error will happen.
I also attached an image showing the pink after transform.
Environment
- Device: HP Laptop
- OS: Windows 10
- Browser: Google Chrome