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   |
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
|
|
|
 |
|
JPEG Images do not get rotated correctly
By: Tom1 on Mon, 01 October 2018 11:01
|
 |
|
Re: JPEG Images do not get rotated correctly
By: Zbych on Wed, 03 October 2018 19:32
|
 |
|
Re: JPEG Images do not get rotated correctly
By: Tom1 on Thu, 04 October 2018 08:58
|
 |
|
Re: JPEG Images do not get rotated correctly
By: Oblivion on Thu, 04 October 2018 11:28
|
 |
|
Re: JPEG Images do not get rotated correctly
By: Tom1 on Thu, 04 October 2018 14:03
|
 |
|
Re: JPEG Images do not get rotated correctly
By: Tom1 on Thu, 04 October 2018 14:33
|
 |
|
Re: JPEG Images do not get rotated correctly
By: Oblivion on Thu, 04 October 2018 18:13
|
 |
|
Re: JPEG Images do not get rotated correctly
By: Tom1 on Thu, 04 October 2018 19:05
|
 |
|
Re: JPEG Images do not get rotated correctly
By: mirek on Wed, 10 October 2018 13:20
|
 |
|
Re: JPEG Images do not get rotated correctly
By: Tom1 on Wed, 10 October 2018 13:28
|
 |
|
Re: JPEG Images do not get rotated correctly
By: mirek on Fri, 12 October 2018 19:09
|
 |
|
Re: JPEG Images do not get rotated correctly
By: Tom1 on Fri, 12 October 2018 20:40
|
 |
|
Re: JPEG Images do not get rotated correctly
By: Tom1 on Fri, 12 October 2018 21:21
|
 |
|
Re: JPEG Images do not get rotated correctly
By: mirek on Sat, 13 October 2018 19:07
|
 |
|
Re: JPEG Images do not get rotated correctly
By: Tom1 on Sat, 13 October 2018 22:33
|
 |
|
Re: JPEG Images do not get rotated correctly
By: Tom1 on Sun, 21 October 2018 16:20
|
 |
|
Re: JPEG Images do not get rotated correctly
By: mirek on Wed, 31 October 2018 11:12
|
 |
|
Re: JPEG Images do not get rotated correctly
By: Tom1 on Wed, 31 October 2018 19:30
|
 |
|
Re: JPEG Images do not get rotated correctly
By: mirek on Thu, 01 November 2018 08:34
|
 |
|
Re: JPEG Images do not get rotated correctly
By: Tom1 on Thu, 01 November 2018 09:57
|
Goto Forum:
Current Time: Wed Jun 25 09:54:39 CEST 2025
Total time taken to generate the page: 0.04181 seconds
|