lonekorean / diff-cam-engine

Core engine for building motion detection web apps.
Other
148 stars 19 forks source link

Xjpc image mime type options #1

Open manukautech opened 5 years ago

manukautech commented 5 years ago

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".