We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
define a new uppy with compressor plugin:
new Uppy({ autoProceed: true }) .use(Compressor, { convertSize: Infinity }) .use(ImageEditor) .use(Tus, { endpoint: "/api/upload" })
call uppy.addFile
const generatedId = uppy.addFile({ id: v4(), data: blob, name: filename ?? "clipboard-image.png", type: type ?? "image/png", meta: { ourInternalId: 'xxx' } });
compress the image and upload
uncompressed image is uploaded.
Using the dashboard, the image does get compressed, only when calling uppy programmatically it won't compress
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Initial checklist
Steps to reproduce
define a new uppy with compressor plugin:
call uppy.addFile
Expected behavior
compress the image and upload
Actual behavior
uncompressed image is uploaded.
Using the dashboard, the image does get compressed, only when calling uppy programmatically it won't compress
The text was updated successfully, but these errors were encountered: