EXIF tag · SubIFD

SonyRawImageSize

(size of actual image in Sony ARW files)

0x7038
Tag ID (28728 decimal)
SubIFD
IFD / group
int32u!
Data type
EXIF
Table

What SonyRawImageSize means#

(size of actual image in Sony ARW files)

Read, write and remove it#

# read
exiftool -SonyRawImageSize photo.jpg
# write
exiftool -SonyRawImageSize="…" photo.jpg
# remove
exiftool -SonyRawImageSize= photo.jpg
# all files in a folder, as CSV
exiftool -csv -SonyRawImageSize -r ./photos > sony-raw-image-size.csv

In Python with Pillow:

from PIL import Image
exif = Image.open("photo.jpg").getexif()
value = exif.get(0x7038)  # SonyRawImageSize
print(value)

Frequently asked questions#

What is the EXIF tag ID of SonyRawImageSize?

0x7038 (28728 decimal), in the SubIFD directory.

How do I see SonyRawImageSize in a photo?

Run exiftool -SonyRawImageSize photo.jpg, or open the file's info panel in Lightroom, Photoshop, Windows (Properties → Details) or macOS Preview (Tools → Show Inspector).

Last updated October 03, 2026 · How we calculate · Sources