al_lea
al_lea

Reputation: 606

How to attach large info to a JPEG file?

The APP0 to APP15 markers only support 65535 bytes each (I read this from libjpeg.doc). What if there's a bigger chunk of data to save in the jpeg file?

Upvotes: 3

Views: 265

Answers (2)

matja
matja

Reputation: 4179

There is no restriction on using multiple segments of the same type, depending on the data.

e.g, from Exif 2.2 specification, section 3.2

Compressed files can record extended data exceeding 64 Kbytes by dividing it into multiple APP2 segments.

Upvotes: 1

zaf
zaf

Reputation: 23264

Thats a lot of data.

Well if theres no other legit way then theres always steganography http://en.wikipedia.org/wiki/Steganography

Upvotes: 1

Related Questions