corkami / pics

File formats dissections and more...
10.47k stars 737 forks source link

About exif metadata #16

Closed guvenacar closed 10 months ago

guvenacar commented 10 months ago

I want to read and write metadata information of Jpeg files in byte or binary format. How can I find where the exif information starts and ends when I open a jpeg file in byte format? Does the Start Of Scan section in the diagram below mean that image pixels (RGB) are located in this area? I think this diagram represents a jpeg model without exif. If it contained exif information, where would it appear in the diagram below? Thanks.

resim_2023-12-11_234715002

angea commented 10 months ago

an App0 segment, followed by an App1 segment containing Exif data in an TIFF-like IFD...

image
guvenacar commented 10 months ago

Thanks angea.