You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to display the ArrayBuffer inside a canvas I get a scrambled looking image, I might be missing something but it seems that JPEG files are not supported? Or am I missing something...
Hmm.. I thought any kind of image data may be drawn into canvas. If it is really not supported, then I'd propose whether to use dataurl for image or save it as a file and open and draw it using file url (saving as a file feature is on my schedule, but it will be just dependency to cordova-plugin-file and JS only code).
I didn't plan to provide different content types for thumbnails, but if it is really needed, I may schedule such a feature (e.g. make thumbnail as PNG ArrayBuffer), but I cannot commit to any terms for now :(.
OK, I updated README with info about JPEG decoder, so I believe it should be a solution.
I don't want to make an explicit dependency to jpgjs stuff, b/c it is optional for this plugin.
@dnmd : I would really appreciate if you confirm that jpgjs works, and if you provide code snippet for that - I'll include it in README.
When trying to display the ArrayBuffer inside a canvas I get a scrambled looking image, I might be missing something but it seems that JPEG files are not supported? Or am I missing something...
The text was updated successfully, but these errors were encountered: