Comments (10)
That functionality has crossed my mind, but at the moment it's not possible. It would probably be a larger project to add that.
from exifreader.
This is going to be tricky. I think I will postpone this for a while. A lot of stuff would have to be changed and added. If a lot of people requests it I may reconsider.
from exifreader.
No, not really. But you got me interested. :-) I won't make any promises since I have quite limited time right now, but I'm at least going to have a look at what it will take. If you would use such a feature, would it have to be possible to write to all of the different types of meta data (Exif, IPTC and XMP) or just one or two of them?
from exifreader.
i would like to get involved with this implementation but not right now. i'll get back to you when i have enough time to contribute to this.
from exifreader.
Closing this for now. May reopen if interest increases, but generally I think it would probably make sense with a separate library for this. The code would be very different from this one and would also add a lot of extra bytes which most of the users would not be happy about.
from exifreader.
As I understand it there's a somewhat new feature where web browsers recently started auto-rotating images using the meta data. I think that's why you're seeing a difference between clients. You could try and set image-orientation: none;
on the image. I'm not sure it's going to work but the default value of this property is what some browsers changed to from-image
. And since you're mentioning canvas this may not be applicable at all for you.
There are more details in this issue: #99
Regarding the write functionality, I don't think that will happen any time soon for ExifReader, if ever. That should probably be its own library to not make this one unnecessarily large for most people.
from exifreader.
Yeah I think that is the issue. Thank you for your reply.
I have a set of test images with different orientations which I used to test my canvas when I originally made it, and now it's doing a different behaviour with the same images. I am trying to use the image-orientation style but it's still doing some strange things, with the image width and height 😕
from exifreader.
i understand the complexity. but, have you made any plans for adding it in the future?
from exifreader.
Thank you mattias.
IPTC, EXIF, XMP. Implementing one by one in this order would be fine. I was just thinking about metadata in images. I actually have no urgent need for the feature. I was just looking around
from exifreader.
I'm looking for something to strip the orientation once I've read it as I'm having great issues with browsers and my canvas where some will rotate the image themselves based off the EXIF and some do not!
from exifreader.
Related Issues (20)
- Some number values are being provided as fraction strings HOT 2
- Plans for avoid downloading/opening entire file? HOT 5
- Exif tags missing from extracted tags HOT 3
- Can I add options to avoid loading the entire file HOT 6
- GPSImgDirection is typed as a number but outputs an array HOT 1
- No shutter count in output HOT 5
- Adding exif support for PNG? HOT 11
- Add support for data URLs to the load function HOT 3
- Typescript definitions problem HOT 1
- Typescript: DateTimeOriginalis has wrong type of StringArrayTag HOT 4
- [Question] Is there a way to remove all metadata? HOT 1
- Add support for zTXt HOT 3
- How to store all tags in the specified image? HOT 2
- Error while installing HOT 4
- xmldom related cpu 100% HOT 6
- Exifr fails to read PNG image parameters if the field is 1000+ characters HOT 3
- Use plugin architecture instead of custom builds (RFC) HOT 3
- How to read cliping path and check if the image is transparent HOT 8
- ExifReader reads file type wrong HOT 2
- Basic support to detect WebP Animation HOT 5
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 exifreader.