Announcement

#31 2016-06-26 18:09:04

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Issues in Exif parsing


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#32 2016-06-26 19:06:27

JAK
Member
2013-07-07
62

Re: Issues in Exif parsing

Thanks.

Read_Metadata produces the following for one of the files that gives the line 205 error:

IPTC Fields in IMGP0497_a_1000.jpg
1#090 = %G
2#000 = Ÿ
2#055 = 20160625
2#060 = 155138+0000
2#080 = John Kendrick
2#116 = johnkendrick@btinternet.com

EXIF Fields in IMGP0497_a_1000.jpg
FileName = 20160626105900-c8684cb6.jpg
FileDateTime = 1466935140
FileSize = 97111
FileType = 2
MimeType = image/jpeg
SectionsFound = ANY_TAG, IFD0, THUMBNAIL, EXIF, GPS, INTEROP
COMPUTED
      html = width="1000" height="741"
      Height = 741
      Width = 1000
      IsColor = 1
      ByteOrderMotorola = 0
      ApertureFNumber = f/10.0
      Copyright = johnkendrick@btinternet.com
      Thumbnail.FileType = 2
      Thumbnail.MimeType = image/jpeg
ImageWidth = 7360
ImageLength = 4912
BitsPerSample
      0 = 8
      1 = 8
      2 = 8
PhotometricInterpretation = 2
Make = RICOH IMAGING COMPANY, LTD.
Model = PENTAX K-1
Orientation = 1
SamplesPerPixel = 3
XResolution = 3000000/10000
YResolution = 3000000/10000
ResolutionUnit = 2
Software = Adobe Photoshop Elements 11.0 Windows
DateTime = 2016:06:25 22:38:07
Artist = John Kendrick
YCbCrPositioning = 2
Copyright = johnkendrick@btinternet.com
UndefinedTag:0xC4A5 = PrintIM0300!�  4����������   D ����� ' '�'�''^'�'�'�'
Exif_IFD_Pointer = 764
GPS_IFD_Pointer = 1288
THUMBNAIL
      Compression = 6
      XResolution = 72/1
      YResolution = 72/1
      ResolutionUnit = 2
      JPEGInterchangeFormat = 1762
      JPEGInterchangeFormatLength = 5112
ExposureTime = 1/160
FNumber = 100/10
ExposureProgram = 4
ISOSpeedRatings = 100
UndefinedTag:0x8830 = 1
UndefinedTag:0x8831 = 100
ExifVersion = 0230
DateTimeOriginal = 2016:06:25 15:51:38
DateTimeDigitized = 2016:06:25 15:51:38
ComponentsConfiguration = 
ShutterSpeedValue = 7321928/1000000
ApertureValue = 6643856/1000000
ExposureBiasValue = 7/10
MeteringMode = 2
Flash = 16
FocalLength = 7000/100
FlashPixVersion = 0100
ColorSpace = 1
ExifImageWidth = 1000
ExifImageLength = 741
InteroperabilityOffset = 1256
SensingMethod = 2
FileSource = 
SceneType = 
CustomRendered = 0
ExposureMode = 1
WhiteBalance = 0
FocalLengthIn35mmFilm = 70
SceneCaptureType = 0
Contrast = 2
Saturation = 0
Sharpness = 2
SubjectDistanceRange = 3
GPSVersion = 
GPSLatitudeRef = N
GPSLatitude
      0 = 54/1
      1 = 165830/10000
      2 = 0/1
GPSLongitudeRef = W
GPSLongitude
      0 = 0/1
      1 = 238761/10000
      2 = 0/1
GPSAltitudeRef =
GPSAltitude = 2500/100
GPSTimeStamp
      0 = 14/1
      1 = 51/1
      2 = 38000/1000
GPSSatellites = 09
GPSStatus = A
GPSMeasureMode = 3
GPSSpeedRef = K
GPSSpeed = 1/100
GPSTrackRef = T
GPSTrack = 18814/100
GPSImgDirectionRef = T
GPSImgDirection = 4463/100
GPSMapDatum = WGS-84
GPSProcessingMode = ASCIIGPS
GPSDateStamp = 2016:06:25
InterOperabilityIndex = R98
InterOperabilityVersion = 0100


---------------------------------------------------------------------------------------
Those strange characters such as shown in 'GPSVersion = ' show as a blank within Piwigo.

Firefox Fxif reads the Metadata OK as here for that image:

Camera Maker: RICOH IMAGING COMPANY, LTD.
Camera Model: PENTAX K-1
Image Date: 2016-06-25 15:51:38 +0000
Focal Length: 70mm (35mm equivalent: 70mm)
Aperture: ƒ/10.0
Exposure Time: 0.0063 s (1/160)
ISO equiv: 100
Exposure Bias: +0.70 EV
Metering Mode: Center Weight
Exposure: shutter priority (semi-auto)
Exposure Mode: Manual
White Balance: Auto
Flash Fired: No (enforced)
Orientation: Normal
Color Space: sRGB
GPS Coordinate: 54° 16′ 34.98″ N, 0° 23′ 52.57″ W
GPS Altitude: 25m
Viewing Direction: 44.63° (true north)
Creator: John Kendrick
Copyright: johnkendrick@btinternet.com
Software: Adobe Photoshop Elements 11.0 Windows


Could it be viewing direction that is leading to the problem?


The image this relates to is here:
http://jkpg.ddns.net/piwigo/picture.php?/2437/
The line 205 error message is suppressed as the line is rem'd out.

I have attached the image jpeg file to this post.

Thanks again.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact