On Fri, 2003-07-11 at 01:15, Gerald Oskoboiny wrote:
> Hi,
>=20
> Thanks for writing libexif, gexif, exif, etc; fantastic stuff!
>=20
> I am trying to use 'exif' to reset the orientation value in a jpeg
> file after rotating it with jpegtran, and it seems to work well
> but the file size decreases by 400 bytes during the exif step.
libexif constructs EXIF data from scratch, without any unnecessary
padding. Read the EXIF spec: The pointers to the EXIF data items are
stored in one block, and the data items itself somewhere after the
block. But the data items don't need to start right after the block of
pointers, nor do they need to be packed one after another. =20
This could be the 400 bytes. But it would still be interesting what is
hidden in the 400 bytes...
Regards
--=20
Lutz M=FCller <lu...@us...>
|