/[Apache-SVN]
ViewVC logotype

Revision 1224681


Jump to revision: Previous Next
Author: damjan
Date: Mon Dec 26 06:28:48 2011 UTC (12 years, 5 months ago)
Changed paths: 2
Log Message:
Treat the TIFF/EXIF byte range occupied by maker notes
as an unknown value that is to be preserved. This is
because some maker notes are TIFF directories which
reference values stored inside the maker notes
using TIFF-relative addresses, meaning that
even though we parse the maker notes field,
it is written to a different location
when rewriting the file, causing
its internal addresses to become wrong.
By preserving the location and values
of the original maker notes, the new maker notes
will reference valid values in the old.

Also disable a file that now fails
the ExifRewriteTest, because we duplicate
the maker notes on each rewrite,
and that file's maker notes are 28kB
causing the 64kB JPEG segment limit to be overrun.

Jira issue key: SANSELAN-32



Changed paths

Path Details
Directorycommons/proper/sanselan/trunk/src/main/java/org/apache/commons/sanselan/formats/tiff/write/TiffImageWriterLossless.java modified , text changed
Directorycommons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/ExifRewriteTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26