GithubHelp home page GithubHelp logo

Comments (6)

stomita avatar stomita commented on June 12, 2024

Because it doesn't read EXIF information in the JPEG file.
Use exif.js (https://github.com/jseidelin/exif-js) to extract the rotation orientation info from JPEG file, and bring it back by passing option parameter "orientation" in render function.

from ios-imagefile-megapixel.

goker-dev avatar goker-dev commented on June 12, 2024

Hello,
Thanks @stomita for the great solution.
@rlog I've developed a jQuery plugin working with exif.js you can check it https://github.com/gokercebeci/canvasResize
It could solve your problem.

from ios-imagefile-megapixel.

sandstrom avatar sandstrom commented on June 12, 2024

@gokercebeci That's an excellent plugin!

But would be even better if it wasn't distributed as a jQuery plugin, and from what I can see jQuery isn't used for anything critical. It would be much more useful if it was simply a class/function, similar to moment.js or stomita's MegaPixImage, since it could be used standalone, with Zepto.js or another library.

from ios-imagefile-megapixel.

goker-dev avatar goker-dev commented on June 12, 2024

thanks for your advice @sandstrom. I'll start to work on this next week.

from ios-imagefile-megapixel.

goker-dev avatar goker-dev commented on June 12, 2024

It's done @sandstrom, please, check it out!

from ios-imagefile-megapixel.

sandstrom avatar sandstrom commented on June 12, 2024

@gokercebeci Wonderful! I'll check it out right away!

from ios-imagefile-megapixel.

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.