TagsFromFile create bad metadatas

Started by zoulou, March 20, 2015, 05:53:14 PM

Previous topic - Next topic

zoulou

Hi !
I post in this section because I'm sure the problem is me. :)

I want use the function -TagsFromFile but it turn some EXIF data to XMP data.
I don't understand what is the problem.

exiftool -charset exif=latin1 -g SamsungGT-I9300.png
---- ExifTool ----
ExifTool Version Number         : 9.74
---- File ----
File Name                       : SamsungGT-I9300.jpg
Directory                       : .
File Size                       : 18 kB
File Modification Date/Time     : 2014:07:03 16:18:18+02:00
File Access Date/Time           : 2015:03:20 21:27:02+01:00
File Inode Change Date/Time     : 2015:03:11 07:09:35+01:00
File Permissions                : rwx------
File Type                       : JPEG
MIME Type                       : image/jpeg
Exif Byte Order                 : Little-endian (Intel, II)
Image Width                     : 8
Image Height                    : 8
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
---- EXIF ----
Make                            : SAMSUNG
Camera Model Name               : GT-I9300
Orientation                     : Horizontal (normal)
X Resolution                    : 72
Y Resolution                    : 72
Resolution Unit                 : inches
Software                        : I9300XXDLJ4
Modify Date                     : 2013:02:14 10:19:08
Y Cb Cr Positioning             : Centered
Exposure Time                   : 1/570
F Number                        : 2.6
Exposure Program                : Aperture-priority AE
ISO                             : 80
Exif Version                    : 0220
Date/Time Original              : 2013:02:14 10:19:08
Create Date                     : 2013:02:14 10:19:08
Components Configuration        : Y, Cb, Cr, -
Shutter Speed Value             : 1/571
Aperture Value                  : 2.6
Brightness Value                : 7.4140625
Exposure Compensation           : 0
Max Aperture Value              : 2.6
Metering Mode                   : Average
Flash                           : No Flash
Focal Length                    : 3.7 mm
User Comment                    : .ø.;
Flashpix Version                : 0100
Color Space                     : sRGB
Exif Image Width                : 3264
Exif Image Height               : 2448
Interoperability Index          : R98 - DCF basic file (sRGB)
Interoperability Version        : 0100
Exposure Mode                   : Auto
White Balance                   : Auto
Scene Capture Type              : Landscape
Image Unique ID                 : GDFF03
Compression                     : JPEG (old-style)
Thumbnail Offset                : 5046
Thumbnail Length                : 13268
---- MakerNotes ----
Maker Note Version              : 0100
---- Composite ----
Aperture                        : 2.6
Image Size                      : 8x8
Shutter Speed                   : 1/570
Thumbnail Image                 : (Binary data 13268 bytes, use -b option to extract)
Focal Length                    : 3.7 mm
Light Value                     : 12.2


exiftool -g Chat.jpg
---- ExifTool ----
ExifTool Version Number         : 9.74
---- File ----
File Name                       : Chat.jpg
Directory                       : .
File Size                       : 1367 bytes
File Modification Date/Time     : 2015:03:01 15:42:48+01:00
File Access Date/Time           : 2015:03:20 22:04:49+01:00
File Inode Change Date/Time     : 2015:03:01 15:42:48+01:00
File Permissions                : rwx------
File Type                       : JPEG
MIME Type                       : image/jpeg
Image Width                     : 130
Image Height                    : 70
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
---- Composite ----
Image Size                      : 130x70


exiftool -charset exif=latin1 SamsungGT-I9300.jpg Chat.jpg
exiftool -g Chat.jpg
---- ExifTool ----
ExifTool Version Number         : 9.74
---- File ----
File Name                       : Chat.jpg
Directory                       : .
File Size                       : 19 kB
File Modification Date/Time     : 2015:03:20 22:48:47+01:00
File Access Date/Time           : 2015:03:20 22:48:47+01:00
File Inode Change Date/Time     : 2015:03:20 22:48:47+01:00
File Permissions                : rwx------
File Type                       : JPEG
MIME Type                       : image/jpeg
Exif Byte Order                 : Little-endian (Intel, II)
Image Width                     : 130
Image Height                    : 70
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
---- EXIF ----
Make                            : SAMSUNG
Camera Model Name               : GT-I9300
Orientation                     : Horizontal (normal)
X Resolution                    : 72
Y Resolution                    : 72
Resolution Unit                 : inches
Software                        : I9300XXDLJ4
Modify Date                     : 2013:02:14 10:19:08
Y Cb Cr Positioning             : Centered
Exposure Time                   : 1/570
F Number                        : 2.6
Exposure Program                : Aperture-priority AE
ISO                             : 80
Exif Version                    : 0220
Date/Time Original              : 2013:02:14 10:19:08
Create Date                     : 2013:02:14 10:19:08
Components Configuration        : Y, Cb, Cr, -
Shutter Speed Value             : 1/571
Aperture Value                  : 2.6
Brightness Value                : 7.4140625
Exposure Compensation           : 0
Max Aperture Value              : 2.6
Metering Mode                   : Average
Focal Length                    : 3.7 mm
User Comment                    : .ø.;
Flashpix Version                : 0100
Color Space                     : sRGB
Exif Image Width                : 3264
Exif Image Height               : 2448
Exposure Mode                   : Auto
White Balance                   : Auto
Scene Capture Type              : Landscape
Image Unique ID                 : GDFF03
Compression                     : JPEG (old-style)
Thumbnail Offset                : 818
Thumbnail Length                : 13268
---- MakerNotes ----
Maker Note Version              : 0100
---- XMP ----
XMP Toolkit                     : Image::ExifTool 9.74
Flash Fired                     : False
Flash Function                  : False
Flash Mode                      : Unknown
Flash Red Eye Mode              : False
Flash Return                    : No return detection
Interoperability Index          : R98 - DCF basic file (sRGB)
---- Composite ----
Aperture                        : 2.6
Flash                           : No Flash
Image Size                      : 130x70
Shutter Speed                   : 1/570
Thumbnail Image                 : (Binary data 13268 bytes, use -b option to extract)
Focal Length                    : 3.7 mm
Light Value                     : 12.2


I dont understand. Can you explain me what is wrong ?

The pictures SamsungGT-I9300.jpg is downloaded from the exiftool's website.

PS : English is not my native language.

Phil Harvey

Sorry, I don't have time right now to sift through this output to try to figure out the problem.  I'll have more time next week after I get back from this business trip.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).