[
https://issues.apache.org/jira/browse/IMAGING-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Charles Hope updated IMAGING-351:
---------------------------------
Description:
I believe I've uncovered a bug. Using the pattern shown in the
{{WriteExifMetadataExample}} example code, it seems that some fields are not
accurately copied.
The unit test submitted in the [pull
request|https://github.com/apache/commons-imaging/pull/275] copies a test file
to a temp file, and then compares the EXIF data of the two files. Each test
inspects a different metadata class. Both tests fail, as there are minor
differences found.
was:
I believe I've uncovered a bug. Using the pattern shown in the
{{WriteExifMetadataExample}} example code, it seems that some fields are not
accurately copied.
The unit test submitted in the pull request copies a test file to a temp file,
and then compares the EXIF data of the two files. Each test inspects a
different metadata class. Both tests fail, as there are minor differences found.
> EXIF data corruption during copy
> --------------------------------
>
> Key: IMAGING-351
> URL: https://issues.apache.org/jira/browse/IMAGING-351
> Project: Commons Imaging
> Issue Type: Bug
> Components: imaging.*
> Affects Versions: 1.0-alpha3
> Reporter: Charles Hope
> Priority: Minor
> Labels: pull-request-available
>
> I believe I've uncovered a bug. Using the pattern shown in the
> {{WriteExifMetadataExample}} example code, it seems that some fields are not
> accurately copied.
> The unit test submitted in the [pull
> request|https://github.com/apache/commons-imaging/pull/275] copies a test
> file to a temp file, and then compares the EXIF data of the two files. Each
> test inspects a different metadata class. Both tests fail, as there are minor
> differences found.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)