Code Monkey home page Code Monkey logo

Comments (10)

mattiasw avatar mattiasw commented on July 28, 2024 2

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.

mattiasw avatar mattiasw commented on July 28, 2024 2

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.

mattiasw avatar mattiasw commented on July 28, 2024 1

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.

Divine1 avatar Divine1 commented on July 28, 2024 1

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.

mattiasw avatar mattiasw commented on July 28, 2024 1

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.

mattiasw avatar mattiasw commented on July 28, 2024 1

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.

LeahPike avatar LeahPike commented on July 28, 2024 1

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.

Divine1 avatar Divine1 commented on July 28, 2024

i understand the complexity. but, have you made any plans for adding it in the future?

from exifreader.

Divine1 avatar Divine1 commented on July 28, 2024

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.

LeahPike avatar LeahPike commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.