allowImageTransform=true causes significant file size growth
Author: Eric24Created Jun 2, 2026Updated Aug 18, 2026
Is there an existing issue for this?
- I have searched the existing issues
Have you updated FilePond and its plugins?
- I have updated FilePond and its plugins
Describe the bug
When allowImageTransform=true (or omitted, as true is the default) the file size of the image (.jpg and .png tested) increases substantially (one test turned a 558KB file into a 3.9MB file). Setting allowImageTransform=false prevents this.
It appears that the image was automatically being drawn to canvas and exported which was adding an Alpha channel and causing the file size expansion.
Reproduction
Set allowImageTransform=true (or omit it) and upload a file to the server. Compare the original file size to the uploaded file size.
Environment
- Device: Various Windows and MacOS laptops
- OS: Various
- Browser: Chrome, Safari, FirefoxSource: pqina/filepond