Skip to content

Xjpc image mime type options#1

Open
iafilm-makers wants to merge 2 commits intolonekorean:masterfrom
iafilm-makers:xjpc-image-mime-type-options
Open

Xjpc image mime type options#1
iafilm-makers wants to merge 2 commits intolonekorean:masterfrom
iafilm-makers:xjpc-image-mime-type-options

Conversation

@iafilm-makers
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".

John Calder added 2 commits December 19, 2018 20:03
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