Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Not Writeable message when setting data for JPG file #343

Open
SimonKravis opened this issue Oct 8, 2023 · 0 comments
Open

File Not Writeable message when setting data for JPG file #343

SimonKravis opened this issue Oct 8, 2023 · 0 comments

Comments

@SimonKravis
Copy link

SimonKravis commented Oct 8, 2023

TagLibSharp 2.3.0 from C# on Windows 11 crashes with File Not Writeable message when saving after setting Title metadata on iPhone camera JPEG file which appears not be corrupt. File Metadata as below. A zero size file SetFromImageFails.txt is created in the folder containing the JPG.

C:\Users\simon\Pictures\70th Party>exiftool image0.jpeg
ExifTool Version Number : 12.40
File Name : image0.jpeg
Directory : .
File Size : 105 KiB
Zone Identifier : Exists
File Modification Date/Time : 2022:11:02 08:44:00+11:00
File Access Date/Time : 2023:10:09 09:16:04+11:00
File Creation Date/Time : 2022:11:02 08:44:00+11:00
File Permissions : -rw-rw-rw-
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
Exif Byte Order : Big-endian (Motorola, MM)
Make : Apple
Camera Model Name : iPhone SE (2nd generation)
Orientation : Rotate 90 CW
X Resolution : 72
Y Resolution : 72
Resolution Unit : inches
Software : 15.5
Modify Date : 2022:10:16 15:50:38
Host Computer : iPhone SE (2nd generation)
Y Cb Cr Positioning : Centered
Exposure Time : 1/100
F Number : 1.8
Exposure Program : Program AE
ISO : 32
Exif Version : 0232
Date/Time Original : 2022:10:16 15:50:38
Create Date : 2022:10:16 15:50:38
Offset Time : +11:00
Offset Time Original : +11:00
Offset Time Digitized : +11:00
Components Configuration : Y, Cb, Cr, -
Shutter Speed Value : 1/100
Aperture Value : 1.8
Brightness Value : 5.417398262
Exposure Compensation : 0
Metering Mode : Spot
Flash : Off, Did not fire
Focal Length : 4.0 mm
Subject Area : 2155 1363 750 751
Run Time Flags : Valid
Run Time Value : 1398582341416
Run Time Scale : 1000000000
Run Time Epoch : 0
Acceleration Vector : -0.04648320379 -1.000192166 0.007246919435
Sub Sec Time Original : 141
Sub Sec Time Digitized : 141
Flashpix Version : 0100
Color Space : Uncalibrated
Exif Image Width : 4032
Exif Image Height : 3024
Sensing Method : One-chip color area
Scene Type : Directly photographed
Exposure Mode : Auto
White Balance : Auto
Digital Zoom Ratio : 3.237687366
Focal Length In 35mm Format : 91 mm
Scene Capture Type : Standard
Lens Info : 3.99000001mm f/1.8
Lens Make : Apple
Lens Model : iPhone SE (2nd generation) back camera 3.99mm f/1.8
Composite Image : General Composite Image
GPS Latitude Ref : South
GPS Longitude Ref : East
GPS Altitude Ref : Above Sea Level
GPS Speed Ref : km/h
GPS Speed : 0.04388037615
GPS Img Direction Ref : True North
GPS Img Direction : 111.2653045
GPS Dest Bearing Ref : True North
GPS Dest Bearing : 111.2653045
GPS Horizontal Positioning Error: 4.871504322 m
XMP Toolkit : XMP Core 6.0.0
Creator Tool : 15.5
Date Created : 2022:10:16 15:50:38
Region Area Y : 0.71747323340471114, 0.54911349036402579
Region Area W : 0.057723472668810283, 0.13581993569131839
Region Area X : 0.77673311897106101, 0.44227652733118994
Region Area H : 0.074466809421841584, 0.18454817987152033
Region Area Unit : normalized, normalized
Region Type : Face, Face
Region Extensions Angle Info Yaw: 315
Region Extensions Angle Info Roll: 270
Region Extensions Confidence Level: 761
Region Extensions Face ID : 258
Region Applied To Dimensions H : 3024
Region Applied To Dimensions W : 4032
Region Applied To Dimensions Unit: pixel
Image Width : 640
Image Height : 480
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)
Run Time Since Power Up : 0:23:19
Aperture : 1.8
Image Size : 640x480
Megapixels : 0.307
Scale Factor To 35 mm Equivalent: 22.8
Shutter Speed : 1/100
Create Date : 2022:10:16 15:50:38.141+11:00
Date/Time Original : 2022:10:16 15:50:38.141+11:00
Modify Date : 2022:10:16 15:50:38+11:00
GPS Altitude : 573.2 m Above Sea Level
GPS Latitude : 35 deg 15' 6.58" S
GPS Longitude : 149 deg 7' 27.25" E
Circle Of Confusion : 0.001 mm
Field Of View : 22.4 deg
Focal Length : 4.0 mm (35 mm equivalent: 91.0 mm)
GPS Position : 35 deg 15' 6.58" S, 149 deg 7' 27.25" E
Hyperfocal Distance : 6.71 m
Light Value : 10.0
Lens ID : iPhone SE (2nd generation) back camera 3.99mm f/1.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant