Ich habe mir mit "Exiftool" mal den Aufbau des Exif-Headers angesehen ...
interessant ist, dass es bzgl. der vorhandenen (oder fehlenden) Tags hier
Unterschiede gibt, obwohl beide Bilder aus genau der gleichen Kamera stammen.
Im schlechten Bild fehlt das Tag "Components Configuration" ... und das
schlechte Bild enthält ein deutlich grösseres Vorschau-Image (bzgl der Bytezahl) ...
das mag aber dem Bildinhalt geschuldet sein.
Du kannst ja mal versuchen, mittels exiftool den Exifheader komplett zu
entfernen, und ein schlechtes Bild dann anzuzeigen ... die Frage ist ja
derzeit noch unklar, ob es an den Jpg-Bestandteilen oder an den
Exif-Bestandteilen klemmt. Klar ist nur, dass ein und das selbe Gerät
scheinbar unterschiedliche Dinge in die Header packt.
### das gute Bild ###
ExifTool Version Number : 6.94
File Name : good.jpg
Directory : .
File Size : 2 MB
File Modification Date/Time : 2017:10:07 13:45:31
File Type : JPEG
MIME Type : image/jpeg
Make : samsung
Camera Model Name : SM-G950F
Orientation : Horizontal (normal)
X Resolution : 72
Y Resolution : 72
Resolution Unit : inches
Software : G950FXXU1AQH3
Modify Date : 2017:09:11 11:18:55
Y Cb Cr Positioning : Centered
Exposure Time : 1/3440
F Number : 1.7
Exposure Program : Program AE
ISO : 40
Exif Version : 0220
Date/Time Original : 2017:09:11 11:18:55
Create Date : 2017:09:11 11:18:55
Components Configuration : YCbCr
Shutter Speed Value : 1/3444
Aperture Value : 1.7
Brightness Value : 9.52
Exposure Compensation : 0
Max Aperture Value : 1.7
Metering Mode : Center-weighted average
Flash : No Flash
Focal Length : 4.2mm
Warning : [minor] Possibly incorrect maker notes offsets (fix by 754?)
User Comment :
Sub Sec Time : 0235
Sub Sec Time Original : 0235
Sub Sec Time Digitized : 0235
Flashpix Version : 0100
Color Space : sRGB
Exif Image Width : 4032
Exif Image Length : 3024
Interoperability Index : R98 - DCF basic file (sRGB)
Interoperability Version : 0100
Exposure Mode : Auto
White Balance : Auto
Focal Length In 35mm Format : 26mm
Scene Capture Type : Standard
Image Unique ID : F12LLJA00VM F12LLKG01GM.
GPS Version ID : 2.2.0.0
GPS Latitude Ref : North
GPS Longitude Ref : West
GPS Altitude Ref : Below Sea Level
GPS Altitude : 0 m
GPS Time Stamp : 18:18:27
GPS Date Stamp : 2017:09:11
Compression : JPEG (old-style)
Thumbnail Offset : 1230
Thumbnail Length : 16922
Image Width : 4032
Image Height : 3024
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)
Aperture : 1.7
GPS Date/Time : 2017:09:11 18:18:27
GPS Latitude : 34 deg 6' 6.00" N
GPS Longitude : 118 deg 19' 41.00" W
GPS Position : 34 deg 6' 6.00" N, 118 deg 19' 41.00" W
Image Size : 4032x3024
Scale Factor To 35mm Equivalent : 6.2
Shutter Speed : 1/3440
Thumbnail Image : (Binary data 16922 bytes, use -b option to extract)
Circle Of Confusion : 0.005 mm
Focal Length : 4.2mm (35mm equivalent: 26.0mm)
Hyperfocal Distance : 2.14 m
Light Value : 14.6
Date/Time Original : 2017:09:11 11:18:55.0235
###
### das schlechte Bild ###
ExifTool Version Number : 6.94
File Name : bad.jpg
Directory : .
File Size : 2 MB
File Modification Date/Time : 2017:10:07 13:45:43
File Type : JPEG
MIME Type : image/jpeg
Make : samsung
Camera Model Name : SM-G950F
Orientation : Horizontal (normal)
X Resolution : 72
Y Resolution : 72
Resolution Unit : inches
Software : G950FXXU1AQH3
Modify Date : 2017:09:11 11:16:36
Y Cb Cr Positioning : Centered
Exposure Time : 1/3528
F Number : 1.7
Exposure Program : Program AE
ISO : 40
Exif Version : 0220
Date/Time Original : 2017:09:11 11:16:36
Create Date : 2017:09:11 11:16:36
Max Aperture Value : 1.7
Metering Mode : Center-weighted average
Flash : No Flash
Focal Length : 4.2mm
Warning : [minor] Possibly incorrect maker notes offsets (fix by 484?)
Color Space : sRGB
Exif Image Width : 4032
Exif Image Length : 3024
Exposure Mode : Auto
White Balance : Auto
Focal Length In 35mm Format : 26mm
Scene Capture Type : Standard
Image Unique ID : F12LLJA00VM F12LLKG01GM.
GPS Latitude Ref : North
GPS Longitude Ref : West
Compression : JPEG (old-style)
Thumbnail Offset : 912
Thumbnail Length : 59500
JFIF Version : 1.1
Image Width : 4032
Image Height : 3024
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)
Aperture : 1.7
GPS Latitude : 34 deg 6' 5.00" N
GPS Longitude : 118 deg 19' 36.00" W
GPS Position : 34 deg 6' 5.00" N, 118 deg 19' 36.00" W
Image Size : 4032x3024
Scale Factor To 35mm Equivalent : 6.2
Shutter Speed : 1/3528
Thumbnail Image : (Binary data 59500 bytes, use -b option to extract)
Circle Of Confusion : 0.005 mm
Focal Length : 4.2mm (35mm equivalent: 26.0mm)
Hyperfocal Distance : 2.14 m
Light Value : 14.6
###