Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » JPEG Images do not get rotated correctly
Re: JPEG Images do not get rotated correctly [message #50452 is a reply to message #50444] Wed, 31 October 2018 19:30 Go to previous messageGo to previous message
Tom1
Messages: 1303
Registered: March 2007
Ultimate Contributor
Hi Mirek,

Thanks for adding that part. And no worries, this is merely a no-rush 'hobby' project of mine, which attempts to rename pictures by their shooting date and time, in order to efficiently remove duplicates from my over ten thousand photos and to make it easier to group them by the event or context.

As it turned out later, adding support for DateTime tag covered most cases but unfortunately not quite all. Then I added a couple more to get better coverage:
	else if(tag == 0x132)
		metadata.Add("DateTime", String(data, 20));
	else if(tag == 0x9003)
		metadata.Add("DateTimeOriginal", String(data, 20));
	else if(tag == 0x9004)
		metadata.Add("DateTimeDigitized", String(data, 20));


However, after processing all my digital photos, I found that there are still some pictures with erroneous time stamps because they have been processed (e.g. rotated) with Windows picture viewer some time over the past years. The only 'tag' holding the desired time and date of the picture for those pictures is Windows originated tag 'Date taken', which is not an Exif tag. I have not yet figured out where and how to dig up that information... (Windows Explorer can show it as a property for the picture though.) When that gets solved, I would sure like to have support for that added too for the JPG plugin. Anyway, I have still to figure out the way to pick up Windows 'Date taken' tag.

Thanks and best regards,

Tom

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DrawArc not working in GTK mode
Next Topic: RescaleFilter.cpp: Implicit conversion from bool to double
Goto Forum:
  


Current Time: Wed Jun 25 09:54:39 CEST 2025

Total time taken to generate the page: 0.04181 seconds