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

[Feature Request] Edit more fields in the Exif #169

Closed
gymnae opened this issue Nov 7, 2022 · 3 comments
Closed

[Feature Request] Edit more fields in the Exif #169

gymnae opened this issue Nov 7, 2022 · 3 comments
Labels
feature New feature or request
Milestone

Comments

@gymnae
Copy link

gymnae commented Nov 7, 2022

Hi @pulsejet ,
great tool, seems much more mature than the current Photos app, might even replace photoprism.

Feature request:
Being able to adjust caption/description in Exif data

Reason:
Other tools, such as photoprism, can read the exif caption/description metadata to display context of images. I'd be great to be able to add such metadata in memories directly and potentially show this data when displaying images in thew viewer

@pulsejet pulsejet added the feature New feature or request label Nov 7, 2022
@pulsejet
Copy link
Owner

Can you provide an example of such along with a list of metadata tags? I want to make sure we have compat with other photo libraries.

@pulsejet pulsejet added this to the v4.9.0 milestone Nov 17, 2022
@gymnae
Copy link
Author

gymnae commented Nov 17, 2022

I added caption, title, rating, and a label to this photo via Lightroom, they show up in Nextcloud and preview.app:
22-10-15 09-03-49 0367

This is the full amount of metadata embedded as EXIF/IPTC metadata. I marked the ones that are of interest to me. I noticed that Caption and title appear twice, while I added them only once.

FileSize: 791 KiB
FileModifyDate: 2022-11-17T18:36:18.000+00:00
FileAccessDate: 2022-11-17T18:36:18.000+00:00
FileInodeChangeDate: 2022-11-17T18:36:18.000+00:00
FileType: JPEG
FileTypeExtension: jpg
MIMEType: image/jpeg
ExifByteOrder: Little-endian (Intel, II)
ImageDescription: this is a caption
Make: Apple
Model: iPhone XS
XResolution: 240
YResolution: 240
ResolutionUnit: inches
Software: Adobe Photoshop Lightroom Classic 12.0.1 (Macintosh)
ModifyDate: 2022-11-17T19:30:09.000+00:00
ExposureTime: 1/55
FNumber: 1.8
ExposureProgram: Program AE
ISO: 400
ExifVersion: 0232
DateTimeOriginal: 2022-10-15T09:03:49.000+00:00
CreateDate: 2022-10-15T09:03:49.000+00:00
OffsetTime: +01:00
OffsetTimeOriginal: +02:00
OffsetTimeDigitized: +02:00
ShutterSpeedValue: 1/55
ApertureValue: 1.8
BrightnessValue: 1.164861096
ExposureCompensation: 0
MeteringMode: Multi-segment
Flash: Off, Did not fire
FocalLength: 4.2 mm
SubjectArea: 2013 1511 2217 1393
SubSecTimeOriginal: 659
SubSecTimeDigitized: 659
ColorSpace: sRGB
SensingMethod: One-chip color area
SceneType: Directly photographed
ExposureMode: Auto
WhiteBalance: Auto
FocalLengthIn35mmFormat: 26 mm
SceneCaptureType: Standard
LensInfo: 4.25-6mm f/1.8-2.4
LensMake: Apple
LensModel: iPhone XS back dual camera 4.25mm f/1.8
Compression: JPEG (old-style)
ThumbnailOffset: 924
ThumbnailLength: 21133
DisplayedUnitsX: inches
DisplayedUnitsY: inches
CurrentIPTCDigest: 749863827a6874dfa891c4c1a1658043
CodedCharacterSet: UTF8
ApplicationRecordVersion: 4
ObjectName: this is a title
TimeCreated: 09:03:49+02:00
DigitalCreationDate: 2022:10:15
DigitalCreationTime: 09:03:49+02:00
Caption-Abstract: this is a caption
PhotoshopThumbnail: (Binary data 21133 bytes, use -b option to extract)
IPTCDigest: 749863827a6874dfa891c4c1a1658043
ProfileCMMType: Linotronic
ProfileVersion: 2.1.0
ProfileClass: Display Device Profile
ColorSpaceData: RGB
ProfileConnectionSpace: XYZ
ProfileDateTime: 1998-02-09T06:49:00.000+00:00
ProfileFileSignature: acsp
PrimaryPlatform: Microsoft Corporation
CMMFlags: Not Embedded, Independent
DeviceManufacturer: Hewlett-Packard
DeviceModel: sRGB
DeviceAttributes: Reflective, Glossy, Positive, Color
RenderingIntent: Perceptual
ConnectionSpaceIlluminant: 0.9642 1 0.82491
ProfileCreator: Hewlett-Packard
ProfileID: 0
ProfileCopyright: Copyright (c) 1998 Hewlett-Packard Company
ProfileDescription: sRGB IEC61966-2.1
MediaWhitePoint: 0.95045 1 1.08905
MediaBlackPoint: 0 0 0
RedMatrixColumn: 0.43607 0.22249 0.01392
GreenMatrixColumn: 0.38515 0.71687 0.09708
BlueMatrixColumn: 0.14307 0.06061 0.7141
DeviceMfgDesc: IEC http://www.iec.ch
DeviceModelDesc: IEC 61966-2.1 Default RGB colour space - sRGB
ViewingCondDesc: Reference Viewing Condition in IEC61966-2.1
ViewingCondIlluminant: 19.6445 20.3718 16.8089
ViewingCondSurround: 3.92889 4.07439 3.36179
ViewingCondIlluminantType: D50
Luminance: 76.03647 80 87.12462
MeasurementObserver: CIE 1931
MeasurementBacking: 0 0 0
MeasurementGeometry: Unknown
MeasurementFlare: 0.999%
MeasurementIlluminant: D65
Technology: Cathode Ray Tube Display
RedTRC: (Binary data 2060 bytes, use -b option to extract)
GreenTRC: (Binary data 2060 bytes, use -b option to extract)
BlueTRC: (Binary data 2060 bytes, use -b option to extract)
XMPToolkit: Adobe XMP Core 7.0-c000 1.000000, 0000/00/00-00:00:00
CreatorTool: Adobe Photoshop Lightroom Classic 12.0.1 (Macintosh)
Label: i_am_a_label
Rating: 4
MetadataDate: 2022-11-17T19:30:09.000+01:00
Lens: iPhone XS back dual camera 4.25mm f/1.8
DateCreated: 2022-10-15T09:03:49.659+02:00
DocumentID: xmp.did:511bbc51-597f-462e-ac80-a3cb75e76258
PreservedFileName: 22-10-15 09-03-49 0367.jpg
OriginalDocumentID: FADEC5DB5CE50DD1BB2700D640ECE978
InstanceID: xmp.iid:511bbc51-597f-462e-ac80-a3cb75e76258
Format: image/jpeg
RawFileName: 5F05311D-0C5D-4B8D-A442-19441147FDF0.dng
Version: 15
ProcessVersion: 11
IncrementalTemperature: 0
IncrementalTint: 0
Exposure2012: 0
Contrast2012: 0
Highlights2012: 0
Shadows2012: 0
Whites2012: 0
Blacks2012: 0
Texture: 0
Clarity2012: 0
Dehaze: 0
Vibrance: 0
Saturation: 0
ParametricShadows: 0
ParametricDarks: 0
ParametricLights: 0
ParametricHighlights: 0
ParametricShadowSplit: 25
ParametricMidtoneSplit: 50
ParametricHighlightSplit: 75
Sharpness: 0
LuminanceSmoothing: 0
ColorNoiseReduction: 0
HueAdjustmentRed: 0
HueAdjustmentOrange: 0
HueAdjustmentYellow: 0
HueAdjustmentGreen: 0
HueAdjustmentAqua: 0
HueAdjustmentBlue: 0
HueAdjustmentPurple: 0
HueAdjustmentMagenta: 0
SaturationAdjustmentRed: 0
SaturationAdjustmentOrange: 0
SaturationAdjustmentYellow: 0
SaturationAdjustmentGreen: 0
SaturationAdjustmentAqua: 0
SaturationAdjustmentBlue: 0
SaturationAdjustmentPurple: 0
SaturationAdjustmentMagenta: 0
LuminanceAdjustmentRed: 0
LuminanceAdjustmentOrange: 0
LuminanceAdjustmentYellow: 0
LuminanceAdjustmentGreen: 0
LuminanceAdjustmentAqua: 0
LuminanceAdjustmentBlue: 0
LuminanceAdjustmentPurple: 0
LuminanceAdjustmentMagenta: 0
SplitToningShadowHue: 0
SplitToningShadowSaturation: 0
SplitToningHighlightHue: 0
SplitToningHighlightSaturation: 0
SplitToningBalance: 0
ColorGradeMidtoneHue: 0
ColorGradeMidtoneSat: 0
ColorGradeShadowLum: 0
ColorGradeMidtoneLum: 0
ColorGradeHighlightLum: 0
ColorGradeBlending: 50
ColorGradeGlobalHue: 0
ColorGradeGlobalSat: 0
ColorGradeGlobalLum: 0
AutoLateralCA: 0
LensProfileEnable: 0
LensManualDistortionAmount: 0
VignetteAmount: 0
DefringePurpleAmount: 0
DefringePurpleHueLo: 30
DefringePurpleHueHi: 70
DefringeGreenAmount: 0
DefringeGreenHueLo: 40
DefringeGreenHueHi: 60
PerspectiveUpright: 0
PerspectiveVertical: 0
PerspectiveHorizontal: 0
PerspectiveRotate: 0
PerspectiveAspect: 0
PerspectiveScale: 100
PerspectiveX: 0
PerspectiveY: 0
GrainAmount: 0
PostCropVignetteAmount: 0
ShadowTint: 0
RedHue: 0
RedSaturation: 0
GreenHue: 0
GreenSaturation: 0
BlueHue: 0
BlueSaturation: 0
ConvertToGrayscale: false
OverrideLookVignette: false
ToneCurveName2012: Linear
CameraProfile: Embedded
CameraProfileDigest: 54650A341B5B5CCAE8442D0B43A92BCE
HasSettings: true
CropTop: 0
CropLeft: 0
CropBottom: 1
CropRight: 1
CropAngle: 0
CropConstrainToWarp: 0
HasCrop: false
AlreadyApplied: true
HistoryAction: converted,derived,saved
HistoryParameters: from image/jpeg to image/dng,converted from image/dng to image/jpeg, saved to new location
HistoryInstanceID: xmp.iid:511bbc51-597f-462e-ac80-a3cb75e76258
HistoryWhen: 2022-11-17T19:30:09.000+01:00
HistorySoftwareAgent: Adobe Photoshop Lightroom Classic 12.0.1 (Macintosh)
HistoryChanged: /
DerivedFromDocumentID: FADEC5DB5CE50DD1BB2700D640ECE978
DerivedFromOriginalDocumentID: FADEC5DB5CE50DD1BB2700D640ECE978
Title: this is a title
Description: this is a caption

ToneCurvePV2012: 0, 0,255, 255
ToneCurvePV2012Red: 0, 0,255, 255
ToneCurvePV2012Green: 0, 0,255, 255
ToneCurvePV2012Blue: 0, 0,255, 255
DCTEncodeVersion: 100
APP14Flags0: [14], Encoded with Blend=1 downsampling
APP14Flags1: (none)
ColorTransform: YCbCr
ImageWidth: 1920
ImageHeight: 2560
EncodingProcess: Baseline DCT, Huffman coding
BitsPerSample: 8
ColorComponents: 3
YCbCrSubSampling: YCbCr4:2:0 (2 2)
Aperture: 1.8
ImageSize: 1920x2560
Megapixels: 4.9
ScaleFactor35efl: 6.1
ShutterSpeed: 1/55
SubSecCreateDate: 2022-10-15T09:03:49.659+02:00
SubSecDateTimeOriginal: 2022-10-15T09:03:49.659+02:00
SubSecModifyDate: 2022-11-17T19:30:09.000+01:00
ThumbnailImage: (Binary data 21133 bytes, use -b option to extract)
DateTimeCreated: 2022-10-15T09:03:49.000+02:00
DigitalCreationDateTime: 2022-10-15T09:03:49.000+02:00
CircleOfConfusion: 0.005 mm
FOV: 69.4 deg
FocalLength35efl: 4.2 mm (35 mm equivalent: 26.0 mm)
HyperfocalDistance: 2.04 m
LightValue: 5.5
LensID: iPhone XS back dual camera 4.25mm f/1.8

@pulsejet
Copy link
Owner

pulsejet commented Dec 8, 2022

image
image
image

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

No branches or pull requests

2 participants