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

insert overwrites existing JFIF data #148

Open
Dobatymo opened this issue Jan 2, 2025 · 0 comments
Open

insert overwrites existing JFIF data #148

Dobatymo opened this issue Jan 2, 2025 · 0 comments

Comments

@Dobatymo
Copy link

Dobatymo commented Jan 2, 2025

Adding a exif orientation flag using insert removes JFIF information.

This

[ExifTool]      ExifTool Version Number         : 12.24
[File]          File Name                       : ...
[File]          Directory                       : ...
[File]          File Size                       : ...
[File]          File Modification Date/Time     : ...
[File]          File Access Date/Time           : ...
[File]          File Creation Date/Time         : ...
[File]          File Permissions                : -rw-rw-rw-
[File]          File Type                       : JPEG
[File]          File Type Extension             : jpg
[File]          MIME Type                       : image/jpeg
[File]          Image Width                     : 1700
[File]          Image Height                    : 2338
[File]          Encoding Process                : Baseline DCT, Huffman coding
[File]          Bits Per Sample                 : 8
[File]          Color Components                : 3
[File]          Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
[JFIF]          JFIF Version                    : 1.01
[JFIF]          Resolution Unit                 : inches
[JFIF]          X Resolution                    : 200
[JFIF]          Y Resolution                    : 200

becomes

[ExifTool]      ExifTool Version Number         : 12.24
[File]          File Name                       : ...
[File]          Directory                       : ...
[File]          File Size                       : ...
[File]          File Modification Date/Time     : ...
[File]          File Access Date/Time           : ...
[File]          File Creation Date/Time         : ...
[File]          File Permissions                : -rw-rw-rw-
[File]          File Type                       : JPEG
[File]          File Type Extension             : jpg
[File]          MIME Type                       : image/jpeg
[File]          Exif Byte Order                 : Big-endian (Motorola, MM)
[File]          Image Width                     : 1700
[File]          Image Height                    : 2338
[File]          Encoding Process                : Baseline DCT, Huffman coding
[File]          Bits Per Sample                 : 8
[File]          Color Components                : 3
[File]          Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
[EXIF]          Orientation                     : Rotate 270 CW
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