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

Face thumbnails will offset when use embedded raw thumbnails. #14969

Open
1 of 3 tasks
mochi-c opened this issue Dec 29, 2024 · 2 comments
Open
1 of 3 tasks

Face thumbnails will offset when use embedded raw thumbnails. #14969

mochi-c opened this issue Dec 29, 2024 · 2 comments

Comments

@mochi-c
Copy link

mochi-c commented Dec 29, 2024

The bug

When I close embedded raw thumbnails. The generated thumbnails will have black borders like this
image
When I open embedded raw thumbnails. Face thumbnails will offset like this
image
This seems to be caused by some thumbnail size related data in the EXIF ​​information.

The OS that Immich Server is running on

MacOS 15.1 Docker 4.36.0

Version of Immich Server

v1.123.0

Version of Immich Mobile App

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

-

Your .env content

-

Reproduction steps

Relevant log output

No response

Additional information

No response

@mochi-c
Copy link
Author

mochi-c commented Dec 29, 2024

exiftool ./_DSC1038.ARW -s
ExifToolVersion : 13.10
FileName : _DSC1038.ARW
Directory : .
FileSize : 87 MB
FileModifyDate : 2024:12:28 01:49:14+08:00
FileAccessDate : 2024:12:28 01:49:16+08:00
FileInodeChangeDate : 2024:12:28 01:49:14+08:00
FilePermissions : -rw-rw-r--
FileType : ARW
FileTypeExtension : arw
MIMEType : image/x-sony-arw
ExifByteOrder : Little-endian (Intel, II)
ImageDescription :
Make : SONY
Model : ILCE-7RM5
Orientation : Horizontal (normal)
Software : ILCE-7RM5 v2.00
ModifyDate : 2024:10:19 15:54:17
WhitePoint : 0.313 0.329
PrimaryChromaticities : 0.64 0.33 0.21 0.71 0.15 0.06
ImageWidth : 9728
ImageHeight : 6656
Compression : JPEG
PhotometricInterpretation : Color Filter Array
SamplesPerPixel : 1
PlanarConfiguration : Chunky
XResolution : 350
YResolution : 350
ResolutionUnit : inches
CFARepeatPatternDim : 2 2
CFAPattern2 : 0 1 1 2
SonyRawFileType : Sony Lossless Compressed RAW 2
SonyToneCurve : 0 0 0 0
StripOffsets : 672988
RowsPerStrip : 6656
StripByteCounts : 75906512
ChromaticAberrationCorrection : Auto
DistortionCorrection : Auto fixed by lens
DefaultCropOrigin : 32 20
DefaultCropSize : 9504 6336
SonyCropTopLeft : 32 20
SonyCropSize : 9504 6336
BitsPerSample : 14
SonyRawImageSize : 9568 6376
TileWidth : 512
TileLength : 512
TileOffsets : (Binary data 2189 bytes, use -b option to extract)
TileByteCounts : (Binary data 1728 bytes, use -b option to extract)
PreviewImageStart : 180952
PreviewImageLength : 492035
YCbCrCoefficients : 0.299 0.587 0.114
YCbCrPositioning : Co-sited
FNumber : 11.0
ExposureProgram : Manual
ISO : 1250
SensitivityType : Recommended Exposure Index
RecommendedExposureIndex : 1250
ExifVersion : 0232
DateTimeOriginal : 2024:10:19 15:54:17
CreateDate : 2024:10:19 15:54:17
OffsetTime : +08:00
OffsetTimeOriginal : +08:00
OffsetTimeDigitized : +08:00
ComponentsConfiguration : Y, Cb, Cr, -
CompressedBitsPerPixel : 3
BrightnessValue : 8.3765625
ExposureCompensation : 0
MaxApertureValue : 4.0
MeteringMode : Multi-segment
LightSource : Unknown
Flash : Off, Did not fire
Rating : 0
Brightness : 0
LongExposureNoiseReduction : Off
HighISONoiseReduction : Normal
HDR : Off; Uncorrected image
WBShiftAB_GM : 0 0
WBShiftAB_GM_Precise : 0.00 0.00
ColorTemperature : Auto
ColorCompensationFilter : 0
SceneMode : Standard
ZoneMatching : ISO Setting Used
DynamicRangeOptimizer : Off
ImageStabilization : On
ColorMode : Neutral
FullImageSize : 9504x6336
PreviewImageSize : 1616x1080
FileFormat : ARW 4.0.1
FlashExposureComp : 0
WhiteBalanceFineTune : 0
WhiteBalance : Auto
SonyModelID : ILCE-7RM5
MultiFrameNoiseReduction : Off
PictureEffect : Off
SoftSkinEffect : Off
VignettingCorrection : Auto
LateralChromaticAberration : Auto
DistortionCorrectionSetting : Auto
LensType : E-Mount, T-Mount, Other Lens or no lens
LensSpec : FE 70-200mm F4 Macro G OSS II
AutoPortraitFramed : No
FlashAction : Did not fire
ElectronicFrontCurtainShutter : On
FocusMode : AF-A
AFAreaModeSetting : Wide
FlexibleSpotPosition : 0 0
AFPointSelected : n/a
AFPointsUsed : (none)
AFTracking : Off
FocalPlaneAFPointsUsed : 5
FocalPlaneAFPointArea : 640 428
FocalPlaneAFPointLocation1 : 303 278
FocalPlaneAFPointLocation2 : 320 297
FocalPlaneAFPointLocation3 : 303 297
FocalPlaneAFPointLocation4 : 286 297
FocalPlaneAFPointLocation5 : 286 278
MultiFrameNREffect : Normal
FocusLocation : 9504 6336 4499 3669
VariableLowPassFilter : n/a
PrioritySetInAWB : Standard
MeteringMode2 : Multi-segment
ExposureStandardAdjustment : 0
RAWFileType : Lossless Compressed RAW
Quality : RAW
PixelShiftInfo : n/a
Shadows : 0
Highlights : 0
Fade : 0
SharpnessRange : +3
Clarity : +1
FocusFrameSize : 208x211
JPEG-HEIFSwitch : n/a
HiddenDataOffset : 119540
HiddenDataLength : 53248
FlashLevel : Normal
ReleaseMode : Continuous
SequenceNumber : 1
Anti-Blur : On (Shooting)
IntelligentAuto : Off
SequenceFileNumber : 1
SequenceLength : Continuous
CameraOrientation : Horizontal (normal)
Quality2 : RAW
ISOSetting : Auto
ISOAutoMin : 100
ISOAutoMax : 10000
AmbientTemperature : 27 C
AFAreaMode : Multi
FocusPosition2 : 145
Tag9416_0000 : 6
SonyISO : 1327
StopsAboveBaseISO : 3.7
SonyExposureTime2 : 1/811
ExposureTime : 1/800
SonyFNumber2 : 12.1
SonyMaxApertureValue : 4.1
SequenceImageNumber : 1
CreativeStyle : Neutral
LensFormat : Full-frame
LensMount : E-mount
LensType2 : Unknown E-mount lens or other lens
PictureProfile : Gamma Still - Standard/Neutral (PP2)
FocalLength : 200.0 mm
MinFocalLength : 70.0 mm
MaxFocalLength : 200.0 mm
APS-CSizeCapture : Off
BatteryTemperature : 25.6 C
BatteryLevel : 101%
LensMount2 : E-mount
LensType3 : Sony FE 70-200mm F4 Macro G OSS II
CameraE-mountVersion : 1.80
LensE-mountVersion : 1.80
LensFirmwareVersion : Ver.01.000
Shutter : Mechanical (2669 5128 6480)
FlashStatus : No Flash present
ShutterCount : 20484
ShutterCount2 : 20484
SonyExposureTime : 1/811
SonyFNumber : 11.5
ReleaseMode2 : Continuous
InternalSerialNumber : 97ff0000c908
UserComment :
SubSecTime : 634
SubSecTimeOriginal : 634
SubSecTimeDigitized : 634
FlashpixVersion : 0100
ColorSpace : Uncalibrated
ExifImageWidth : 9504
ExifImageHeight : 6336
InteropIndex : R03 - DCF option file (Adobe RGB)
InteropVersion : 0100
FileSource : Digital Camera
SceneType : Directly photographed
CustomRendered : Normal
ExposureMode : Manual
DigitalZoomRatio : 1
FocalLengthIn35mmFormat : 200 mm
SceneCaptureType : Standard
Contrast : Normal
Saturation : Normal
Sharpness : Normal
LensInfo : 70-200mm f/4
LensModel : FE 70-200mm F4 Macro G OSS II
CompositeImage : Unknown
Gamma : 2.2
PrintIMVersion : 0300
SR2SubIFDOffset : 83406
SR2SubIFDLength : 35552
SR2SubIFDKey : 0x44332211
BlackLevel : 512 512 512 512
WB_RGGBLevelsAuto : 2581 1024 1024 1734
WB_RGGBLevels : 2581 1024 1024 1734
ColorMatrix : 737 250 37 241 937 -154 192 53 779
WB_RGBLevelsDaylight : 2591 1024 1733
WB_RGBLevelsCloudy : 2808 1024 1590
WB_RGBLevelsTungsten : 1576 1024 3115
WB_RGBLevelsFlash : 2868 1024 1524
WB_RGBLevels4500K : 2359 1024 1907
WB_RGBLevelsShade : 3065 1024 1406
WB_RGBLevelsFluorescent : 2391 1024 2337
WB_RGBLevelsFluorescentP1 : 2558 1024 1711
WB_RGBLevelsFluorescentP2 : 2836 1024 1604
WB_RGBLevelsFluorescentM1 : 1853 1024 2994
WB_RGBLevels8500K : 3179 1024 1316
WB_RGBLevels6000K : 2775 1024 1582
WB_RGBLevels3200K : 1824 1024 2572
WB_RGBLevels2500K : 1431 1024 3446
WhiteLevel : 15360 15360 15360
VignettingCorrParams : 16 0 0 48 112 208 320 480 640 848 1056 1312 1568 1872 2192 2528 2912
ChromaticAberrationCorrParams : 32 -512 -512 -512 -512 -512 -512 -512 -512 -512 -512 -512 -512 -512 -512 -512 -512 -256 -256 -256 -256 -256 -256 -256 -256 -128 -128 -128 -128 -128 -128 -128 -128
DistortionCorrParams : 16 0 3 12 28 49 78 114 156 206 263 328 403 486 581 688 808
ThumbnailOffset : 172788
ThumbnailLength : 8163
SubfileType : Reduced-resolution image
JpgFromRawStart : 76579500
JpgFromRawLength : 10204748
YCbCrSubSampling : YCbCr4:2:2 (2 1)
ReferenceBlackWhite : 0 255 128 128 128 128
Aperture : 11.0
BlueBalance : 1.693359
CFAPattern : [Red,Green][Green,Blue]
ImageSize : 9728x6656
JpgFromRaw : (Binary data 10204748 bytes, use -b option to extract)
LensID : Sony FE 70-200mm F4 Macro G OSS II
Megapixels : 64.7
PreviewImage : (Binary data 492035 bytes, use -b option to extract)
RedBalance : 2.520508
ScaleFactor35efl : 1.0
ShutterSpeed : 1/800
SubSecCreateDate : 2024:10:19 15:54:17.634+08:00
SubSecDateTimeOriginal : 2024:10:19 15:54:17.634+08:00
SubSecModifyDate : 2024:10:19 15:54:17.634+08:00
ThumbnailImage : (Binary data 8163 bytes, use -b option to extract)
FocusDistance2 : 3.542 m
CircleOfConfusion : 0.030 mm
FOV : 10.3 deg
FocalLength35efl : 200.0 mm (35 mm equivalent: 200.0 mm)
HyperfocalDistance : 121.03 m
LightValue : 12.9

@bo0tzz
Copy link
Member

bo0tzz commented Dec 29, 2024

Related: #13049

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

2 participants