Comments (4)
This has been requested multiple times in the past but this is still a wontfix because we don't want llgal to modify the original images:
- llgal is not a graphical image modification tool, people should prepare images (including fixing the orientation) before calling llgal
- some people don't want llgal to modify their images
The reason we'd need to rotate the original images (and not only the thumbnails and scaled images) is that they can be displayed in the browser too:
- in the slide (when scaled images are disabled), maybe CSS could help rotating there
- as a plain image without any HTML/CSS around it, and I guess not all browsers honor EXIF orientation in that case
from llgal.
Thank you very much for the quick reply. I meant to add some more details but you answered my question. I understand that modifying the original images can be a problem.
A bit off topic for llgal I guess but you have a working solution that you use to rotate the original images?
- "jpegtran -rotate 90 -trim" correctly rotates the image but loose the EXIF data.
- "jpegtran -rotate 90 -trim -copy all" keeps the EXIF data but the image is rotated one time too many when viewing it.
- "convert IMG -rotate 90" keeps the EXIF data but the image is rotated one time too many when viewing it.
from llgal.
I use "exiftran -ai" which seems to do the job but I never checked in details what it does :)
from llgal.
Okay thanks for the tip :)
I just found gem "jhead -autorot IMG" that automatically rotates the image as needed without loosing EXIF data and it updates the EXIF orientation. Works great so far.
Thanks for an awesome tool!
from llgal.
Related Issues (6)
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 llgal.