[Shotwell] EXIF data contained in JPEG image files

Alex Janssen alex at ourwoods.org
Sun Oct 2 22:17:26 UTC 2011


On 09/27/2011 04:49 PM, Jim Nelson wrote:
> I took a photo, modified it in direct-edit mode, and saved it.  I then 
> ran this command for each:
>
> $ exiv2 -pa IMG_0001.JPG > orig.txt
> $ exiv2 -pa IMG_0002_saved.JPG > saved.txt
>
> Then I did a diff (using meld) of the files.  I see no changes other 
> than a couple expected modifications.
>
> What do you see when you do this experiment?

I edited the copy of the test photo and pressed ^S to save it after a 
minor edit and reran the experiment.  This time Shotwell did delete the 
camera information and set the exif date to today.  It appears that 
using "save as" preserves this data and save does not.  More testing 
needed.  The diff follows:

    1,2d0
    < Exif.Image.Make                              Ascii      10  Panasonic
    < Exif.Image.Model                             Ascii       8  DMC-LZ7
    4,7c2
    < Exif.Image.XResolution                       Rational    1  72
    < Exif.Image.YResolution                       Rational    1  72
    < Exif.Image.ResolutionUnit                    Short       1  inch
    < Exif.Image.Software                          Ascii      10  Ver.1.0
    ---
     > Exif.Image.Software                          Ascii      15 
    Shotwell 0.9.3
    9,15c4
    < Exif.Image.YCbCrPositioning                  Short       1  Co-sited
    < Exif.Image.ExifTag                           Long        1  418
    < Exif.Photo.ExposureTime                      Rational    1  1/50 s
    < Exif.Photo.FNumber                           Rational    1  F3.5
    < Exif.Photo.ExposureProgram                   Short       1  Auto
    < Exif.Photo.ISOSpeedRatings                   Short       1  100
    < Exif.Photo.ExifVersion                       Undefined   4  2.21
    ---
     > Exif.Image.ExifTag                           Long        1  98
    18,92c7,15
    < Exif.Photo.ComponentsConfiguration           Undefined   4  YCbCr
    < Exif.Photo.CompressedBitsPerPixel            Rational    1  2
    < Exif.Photo.ExposureBiasValue                 SRational   1  0 EV
    < Exif.Photo.MaxApertureValue                  Rational    1  F2.8
    < Exif.Photo.MeteringMode                      Short       1 
    Multi-segment
    < Exif.Photo.LightSource                       Short       1  Unknown
    < Exif.Photo.Flash                             Short       1  No,
    compulsory
    < Exif.Photo.FocalLength                       Rational    1  16.1 mm
    < Exif.Photo.MakerNote                         Undefined 6774 
    (Binary value suppressed)
    < Exif.MakerNote.Offset                        Long        1  920
    < Exif.MakerNote.ByteOrder                     Ascii       3  II
    < Exif.Panasonic.Quality                       Short       1  Normal
    < Exif.Panasonic.FirmwareVersion               Undefined   4  0 1 0 6
    < Exif.Panasonic.WhiteBalance                  Short       1  Auto
    < Exif.Panasonic.FocusMode                     Short       1  Auto
    < Exif.Panasonic.AFMode                        Byte        2  Spot
    mode off or 3-area (high speed)
    < Exif.Panasonic.ImageStabilization            Short       1  On, Mode 2
    < Exif.Panasonic.Macro                         Short       1  Off
    < Exif.Panasonic.ShootingMode                  Short       1 
    Intelligent ISO
    < Exif.Panasonic.Audio                         Short       1  No
    < Exif.Panasonic.DataDump                      Undefined 6152 
    (Binary value suppressed)
    < Exif.Panasonic.WhiteBalanceBias              Short       1  0 EV
    < Exif.Panasonic.FlashBias                     Short       1  0
    < Exif.Panasonic.InternalSerialNumber          Undefined  16  70 51
    53 48 55 48 50 49 51 48 53 54 48 0 0 0
    < Exif.Panasonic.ExifVersion                   Undefined   4  2.20
    < Exif.Panasonic.ColorEffect                   Short       1  Off
    < Exif.Panasonic.TimeSincePowerOn              Long        1  21697
    < Exif.Panasonic.BurstMode                     Short       1  Off
    < Exif.Panasonic.SequenceNumber                Long        1  0
    < Exif.Panasonic.Contrast                      Short       1  Normal
    < Exif.Panasonic.NoiseReduction                Short       1  Standard
    < Exif.Panasonic.SelfTimer                     Short       1  Off
    < Exif.Panasonic.Rotation                      Short       1 
    Horizontal (normal)
    < Exif.Panasonic.ColorMode                     Short       1  Natural
    < Exif.Panasonic.BabyAge                       Ascii      20 
    9999:99:99 00:00:00
    < Exif.Panasonic.OpticalZoomMode               Short       1  Standard
    < Exif.Panasonic.ConversionLens                Short       1  Off
    < Exif.Panasonic.TravelDay                     Short       1  65535
    < Exif.Panasonic.WorldTimeLocation             Short       1  Home
    < Exif.Panasonic.ProgramISO                    Short       1  65535
    < Exif.Panasonic.MakerNoteVersion              Undefined   4  1.01
    < Exif.Panasonic.SceneMode                     Short       1 
    Intelligent ISO
    < Exif.Panasonic.WBRedLevel                    Short       1  1625
    < Exif.Panasonic.WBGreenLevel                  Short       1  1054
    < Exif.Panasonic.WBBlueLevel                   Short       1  1802
    < Exif.Panasonic.BabyAge                       Ascii      20 
    9999:99:99 00:00:00
    < Exif.Photo.FlashpixVersion                   Undefined   4  1.00
    < Exif.Photo.ColorSpace                        Short       1  sRGB
    < Exif.Photo.PixelXDimension                   Long        1  3072
    < Exif.Photo.PixelYDimension                   Long        1  2304
    < Exif.Photo.InteroperabilityTag               Long        1  7702
    < Exif.Iop.InteroperabilityIndex               Ascii       4  R98
    < Exif.Iop.InteroperabilityVersion             Undefined   4  1.00
    < Exif.Photo.SensingMethod                     Short       1 
    One-chip color area
    < Exif.Photo.FileSource                        Undefined   1 
    Digital still camera
    < Exif.Photo.SceneType                         Undefined   1 
    Directly photographed
    < Exif.Photo.CustomRendered                    Short       1  Normal
    process
    < Exif.Photo.ExposureMode                      Short       1  Auto
    < Exif.Photo.WhiteBalance                      Short       1  Auto
    < Exif.Photo.DigitalZoomRatio                  Rational    1  0.0
    < Exif.Photo.FocalLengthIn35mmFilm             Short       1  98.0 mm
    < Exif.Photo.SceneCaptureType                  Short       1  Standard
    < Exif.Photo.GainControl                       Short       1  None
    < Exif.Photo.Contrast                          Short       1  Normal
    < Exif.Photo.Saturation                        Short       1  Low
    < Exif.Photo.Sharpness                         Short       1  Soft
    < Exif.Image.PrintImageMatching                Undefined 208 
    (Binary value suppressed)
    < Exif.Thumbnail.Compression                   Short       1  JPEG
    (old-style)
    < Exif.Thumbnail.Orientation                   Short       1  top, left
    < Exif.Thumbnail.XResolution                   Rational    1  72
    < Exif.Thumbnail.YResolution                   Rational    1  72
    < Exif.Thumbnail.ResolutionUnit                Short       1  inch
    < Exif.Thumbnail.JPEGInterchangeFormat         Long        1  8084
    < Exif.Thumbnail.JPEGInterchangeFormatLength   Long        1  3779
    < Exif.Thumbnail.YCbCrPositioning              Short       1  Co-sited
    ---
     > Exif.Photo.PixelXDimension                   SLong       1  3018
     > Exif.Photo.PixelYDimension                   SLong       1  2158
     > Xmp.exif.PixelXDimension                     XmpText     4  3018
     > Xmp.exif.PixelYDimension                     XmpText     4  2158
     > Xmp.exif.DateTimeOriginal                    XmpText    20 
    2011:09:23 23:15:09
     > Xmp.exif.DateTimeDigitized                   XmpText    20 
    2011-09-23T23:15:09Z
     > Xmp.tiff.ImageWidth                          XmpText     1  1
     > Xmp.tiff.ImageHeight                         XmpText     4  2158
     > Xmp.xmp.CreateDate                           XmpText    20 
    2011-09-23T23:15:09Z



-- 
Ourwoods.org




More information about the Shotwell-list mailing list