Hello.

I executed test. and run "exiftool" for each image files.

The following fields I was concerned about seem to be determined based on
the resized image, as expected, rather than the Exif value of the original
image.

- Orientation: copy from *original* image.
- Image Width: based on *resized* image.
- Image Height: based on *resized* image.
- Y Cb Cr Sub Sampling: based on *resized* image.

I thought my concern was unnecessary. My question is solved.

Regards.
ExifTool Version Number         : 12.49
File Name                       : original.jpg
Directory                       : .
File Size                       : 139 kB
Zone Identifier                 : Exists
File Modification Date/Time     : 2022:10:27 12:12:46+09:00
File Access Date/Time           : 2022:10:27 12:57:16+09:00
File Creation Date/Time         : 2022:10:27 12:54:07+09:00
File Permissions                : -rw-rw-rw-
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
Exif Byte Order                 : Little-endian (Intel, II)
Orientation                     : Horizontal (normal)
X Resolution                    : 72
Y Resolution                    : 72
Resolution Unit                 : inches
Y Cb Cr Positioning             : Centered
Quality                         : 70%
XMP Toolkit                     : Adobe XMP Core 5.0-c060 61.134777, 
2010/02/12-17:32:00
Original Document ID            : xmp.did:048011740720681185DFA072021BDFE6
Document ID                     : xmp.did:192571C8CED511E1B1C1DA012E36D12B
Instance ID                     : xmp.iid:44CDC084CED311E1B1C1DA012E36D12B
Creator Tool                    : Adobe Photoshop CS5 Macintosh
Derived From Instance ID        : xmp.iid:854147ED0A20681185DFA072021BDFE6
Derived From Document ID        : xmp.did:048011740720681185DFA072021BDFE6
Current IPTC Digest             : fce11f89c8b7c9782f346234075877eb
Coded Character Set             : UTF8
Application Record Version      : 2
IPTC Digest                     : fce11f89c8b7c9782f346234075877eb
DCT Encode Version              : 100
APP14 Flags 0                   : [14], Encoded with Blend=1 downsampling
APP14 Flags 1                   : (none)
Color Transform                 : YCbCr
Image Width                     : 600
Image Height                    : 450
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:4:4 (1 1)
Image Size                      : 600x450
Megapixels                      : 0.270
ExifTool Version Number         : 12.49
File Name                       : resized.jpg
Directory                       : .
File Size                       : 20 kB
File Modification Date/Time     : 2022:10:27 12:57:17+09:00
File Access Date/Time           : 2022:10:27 12:57:18+09:00
File Creation Date/Time         : 2022:10:27 12:57:17+09:00
File Permissions                : -rw-rw-rw-
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
JFIF Version                    : 1.02
Resolution Unit                 : None
X Resolution                    : 1
Y Resolution                    : 1
Image Width                     : 300
Image Height                    : 225
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
Image Size                      : 300x225
Megapixels                      : 0.068
ExifTool Version Number         : 12.49
File Name                       : exif-updated.jpg
Directory                       : .
File Size                       : 20 kB
File Modification Date/Time     : 2022:10:27 12:57:17+09:00
File Access Date/Time           : 2022:10:27 12:57:52+09:00
File Creation Date/Time         : 2022:10:27 12:57:17+09:00
File Permissions                : -rw-rw-rw-
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
JFIF Version                    : 1.02
Exif Byte Order                 : Little-endian (Intel, II)
Orientation                     : Horizontal (normal)
X Resolution                    : 72
Y Resolution                    : 72
Resolution Unit                 : inches
Y Cb Cr Positioning             : Centered
Image Width                     : 300
Image Height                    : 225
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
Image Size                      : 300x225
Megapixels                      : 0.068
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org

Reply via email to