Is there a theoretical maximum to the amount of metadata (EXIF, etc) that can be incorporated in a JPEG file? I\'d like to allocate a buffer that is assured to be sufficient
Exif metadata are restricted in size to 64 kB in JPEG images because according to the specification this information must be contained within a single JPEG APP1 segment.