Git Product home page Git Product logo

exif's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

exif's Issues

update Orientation lost GPS directory ,sized

Before

jhead -v /www/fang/upfile/IMG_3286_n.JPG
JFIF SOI marker: Units: 1 (dots per inch) X-density=72 Y-density=72
Exif header 12286 bytes long
Exif section in Motorola order
(dir has 11 entries)
Make = "Apple"
Model = "iPhone 6 Plus"
Orientation = 3
XResolution = 72/1
YResolution = 72/1
ResolutionUnit = 2
Software = "9.0.2"
DateTime = "2017:03:30 14:28:47"
YCbCrPositioning = 1
ExifOffset = 208
Exif Dir:(dir has 32 entries)
ExposureTime = 1/17
FNumber = 11/5
ExposureProgram = 2
ISOSpeedRatings = 125
ExifVersion = "0221"
DateTimeOriginal = "2017:03:30 14:28:47"
DateTimeDigitized = "2017:03:30 14:28:47"
ComponentsConfiguration = "?"
ShutterSpeedValue = 1299/320
ApertureValue = 7983/3509
BrightnessValue = 25064/2423
ExposureBiasValue = 0/1
MeteringMode = 5
Flash = 16
FocalLength = 83/20
SubjectArea = 1631, 1223, 1795, 1077
Maker note: 41 70 70 6c 65 20 69 4f 53 00 00... (902 bytes)
SubSecTimeOriginal = "023"
SubSecTimeDigitized = "023"
FlashPixVersion = "0100"
ColorSpace = 1
ExifImageWidth = 3264
ExifImageLength = 2448
SensingMethod = 2
SceneType = ""
ExposureMode = 0
WhiteBalance = 0
FocalLengthIn35mmFilm = 29
SceneCaptureType = 0
Unknown Tag a432 Value = 83/20, 83/20, 11/5, 11/5
Unknown Tag a433 Value = "Apple"
Unknown Tag a434 Value = "iPhone 6 Plus back camera 4.15mm f/2.2"
GPS Dir offset = 1682
GPS info dir:(dir has 15 entries)
GPSLatitudeRef ="N"
GPSLatitude =30/1, 16/1, 5859/100, 16/1, 5859/100, 120/1, 5859/100, 120/1, 7/1
GPSLongitudeRef ="E"
GPSLongitude =120/1, 7/1, 616/100, 7/1, 616/100, 15574/823, 616/100, 15574/823, 6/1
GPSAltitudeRef =00
GPSAltitude =15574/823
GPSTimeStamp =6/1, 28/1, 4307/100, 28/1, 4307/100, 0/1, 4307/100, 0/1, 13361/139
GPSSpeedRef ="K"
GPSSpeed =0/1
GPSImgDirectionRef ="T"
GPSImgDirection =13361/139
GPSDestBearingRef ="T"
GPSDestBearing =13361/139
GPSDateStamp ="2017:03:30"
Illegal GPS tag 001f=65/1
Continued directory (dir has 6 entries)
Compression = 6
XResolution = 72/1
YResolution = 72/1
ResolutionUnit = 2
ThumbnailOffset = 2086
ThumbnailLength = 7609
Thumbnail size: 7609 bytes
Approximate quality factor for qtable 0: 75 (scale 50.51, var 0.81)
Approximate quality factor for qtable 1: 75 (scale 50.52, var 0.19)
JPEG image is 3264w * 2448h, 3 color components, 8 bits per sample
File name : /www/fang/upfile/IMG_3286_n.JPG
File size : 588461 bytes
File date : 2017:04:01 16:38:24
Camera make : Apple
Camera model : iPhone 6 Plus
Date/Time : 2017:03:30 14:28:47
Resolution : 3264 x 2448
Orientation : rotate 180
Flash used : No
Focal length : 4.2mm (35mm equivalent: 29mm)
Exposure time: 0.059 s (1/17)
Aperture : f/2.2
ISO equiv. : 125
Whitebalance : Auto
Metering Mode: pattern
Exposure : program (auto)
GPS Latitude : N 30d 16m 58.59s
GPS Longitude: E 120d 7m 6.16s
GPS Altitude : 18.92m

ExifParser.update(new File(srcPath), tagss -> { tagss.setOrientation(ExifTags.Orientation.NORMAL); });

Edited

jhead -v /www/fang/upfile/IMG_3286_n.JPG

JFIF SOI marker: Units: 1 (dots per inch) X-density=72 Y-density=72
Exif header 252 bytes long
Exif section in Motorola order
(dir has 14 entries)
Orientation = 1
ResolutionUnit = 2
YResolution = 72/1
YCbCrPositioning = 1
Make = "Apple"
XResolution = 72/1
Software = "9.0.2"
DateTime = "2017:03:30 14:28:47"
GPS Dir offset = 1682

Nonfatal Error : '/www/fang/upfile/IMG_3286_n.JPG' Illegal GPS directory link in Exif
GPS info dir: Compression = 6
ThumbnailLength = 7609
ThumbnailOffset = 2086
ExifOffset = 208

Nonfatal Error : '/www/fang/upfile/IMG_3286_n.JPG' Illegally sized Exif subdirectory (12810 entries)
Exif Dir: Model = "iPhone 6 Plus"
Approximate quality factor for qtable 0: 75 (scale 50.51, var 0.81)
Approximate quality factor for qtable 1: 75 (scale 50.52, var 0.19)
JPEG image is 3264w * 2448h, 3 color components, 8 bits per sample
File name : /www/fang/upfile/IMG_3286_n.JPG
File size : 576427 bytes
File date : 2017:04:01 17:16:11
Camera make : Apple

Camera model : iPhone 6 Plus

Date/Time : 2017:03:30 14:28:47
Resolution : 3264 x 2448

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.