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

Xjpc image mime type options #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

manukautech
Copy link

Add variable and property "imageMimeType" to give mime options for the canvas toDataURL() method, especially to enable "image/jpeg" as a bandwidth-saving alternative to the toDataURL() default of uncompressed "image/png".
Add variable and property "jpeqQuality" for use with the case imageMimeType == "image/jpeg".

Add variable and property "imageMimeType" to give mime options for the canvas toDataURL() method, especially to enable "image/jpeg" as a bandwidth-saving alternative to the toDataURL() default of uncompressed "image/png".   
Add variable and property "jpeqQuality" for use with the case imageMimeType == "image/jpeg".
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