Comments (3)
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 :(.
from cordova-plugin-photos.
BTW - looks like https://github.com/notmasteryet/jpgjs works fine for JPEGs - try to use it.
from cordova-plugin-photos.
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.
from cordova-plugin-photos.
Related Issues (20)
- App is crashed on photos() call that returns huge amount of records
- Almost none of the images honour the dimension setting HOT 4
- Limit on Get photo assets HOT 13
- image() return base64 or dataURI HOT 4
- Phonegap Build error with Android HOT 1
- Wrong orientation in Android HOT 2
- Get access to URI ? HOT 2
- Get native paths of my images HOT 1
- Ask for contributing HOT 3
- collections() return Error: Invalid column DISTINCT bucket_id only on Android 10 HOT 4
- Compilation error on Android HOT 7
- Impossible to get the image HOT 2
- Does not work with API 29
- Add getting image as file URL HOT 3
- Some assets don't return thumbnails on iOS
- Real size of thumbnails is lesser than requested on iOS
- Some images are fetched in wrong orientation HOT 10
- Add timestamp in millis into Photos.photos() output
- Add optioning of fetching delay between photos() bundles
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-photos.