Integrated: 8160327: Support for thumbnails present in APP1 marker for JPEG

Jeremy Wood duke at openjdk.org
Mon Mar 10 18:35:11 UTC 2025


On Wed, 1 Jan 2025 21:38:28 GMT, Jeremy Wood <duke at openjdk.org> wrote:

> This adds support for parsing thumbnails in an APP1 Exif marker.
> 
> This builds on an unfinished proposal by Brian Burkhalter (around 2016). In that previous work the only additional meta info he parsed was the image creation time; this PR similarly includes the same property. (I can't speak to why he included that property, but it looks like he has a lot of experience with ImageIO so I trust his judgment.)
> 
> ~~The test addresses the original images attached to the ticket plus a few extra images I found on my computer that include unusual properties. (Possibly those images are malformed, but if they exist in the wild and other platforms support them then I'd prefer to support them too.)~~
> 
> The images used in this test are contributed by Brian and me.

This pull request has now been integrated.

Changeset: 73465b98
Author:    jeremy <jeremy.wood at mac.com>
Committer: Phil Race <prr at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/73465b9866da8e97e557d6ad80a95568ada3ee01
Stats:     711 lines in 14 files changed: 688 ins; 0 del; 23 mod

8160327: Support for thumbnails present in APP1 marker for JPEG

Reviewed-by: prr

-------------

PR: https://git.openjdk.org/jdk/pull/22898


More information about the client-libs-dev mailing list