Opened 18 years ago
Last modified 12 years ago
#1099 assigned enhancement
Lossless rotation of JPEG images in ShowImage
Reported by: | ekdahl | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/ShowImage | Version: | R1/alpha1 |
Keywords: | Cc: | axeld | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
See mailing-list archive for the discussion on the subject: http://www.freelists.org/archives/openbeos/04-2006/msg00091.html
Here's Michael Lotz suggestion on how to implement it: http://www.freelists.org/archives/openbeos/04-2006/msg00183.html
The external command line app he mentions could e.g. be jpegtran (which is capable of many sorts of lossless operations on jpeg data) included in libjpeg.
Change History (6)
comment:1 by , 18 years ago
Cc: | added |
---|
comment:2 by , 18 years ago
I think he made the translator take the EXIF orientation tag into account when opening images and passing on the EXIF info. I don't think that it solves this, i.e. doing the rotation of the image data lossless.
comment:3 by , 18 years ago
Exactly. I've written a small tool that allows writing back the ShowImage:orientation attribute as EXIF orientation for my own use (I might publish it on BeBits later). However, it doesn't know how to add EXIF data if there is none yet.
Since RAWTranslator and JPEGTranslator both export the EXIF data as part of the ioExtension message now, it would probably make sense to have an extra flag for Translate() (again, as part of the ioExtension) that would only update (or add) the EXIF data of/to a file.
comment:4 by , 15 years ago
Milestone: | R1 → Unscheduled |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Version: | R1/pre-alpha1 → R1/alpha1 |
Moving this to Unscheduled since it is not high priority for R1. Also relinquishing ownership since I have no plans to work on it anytime soon.
comment:5 by , 13 years ago
comment:6 by , 12 years ago
(GCI-2012 Participant) Haiku revision: hrev44702. Still a bug. It is very hard to notice the loss of quality though. System: Haiku R1-alpha4 on Virtualbox 4.1.20 on windows 7 64 bit
Axel, didn't you implement that recently?