Skip to content
New issue

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

PNG support #1

Merged
merged 1 commit into from
Nov 11, 2022
Merged

PNG support #1

merged 1 commit into from
Nov 11, 2022

Conversation

memeller
Copy link
Owner

Added support for resizing of PNG files. The detection methods for supported files were slightly modified to include png files. Previously "data:iamge/jpeg" was hardcoded (shrunked.js, ShrunkedImage.jsm), but now the image format is preserved - pngs are resized and saved as pngs, jpegs are resized and saved as jpegs. Tested for inline images and attachments, everything works under TB 102.4.2

Added support for resizing of PNG files. The detection methods for supported files were slightly modified to include png files. Previously "data:iamge/jpeg" was hardcoded (shrunked.js, ShrunkedImage.jsm), but now the image format is preserved - pngs are resized and saved as pngs, jpegs are resized and saved as jpegs.
Tested for inline images and attachments, everything works under TB 102.4.2
@memeller memeller merged commit f0fd72f into master Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant