KhronosGroup / KhronosGroup/WebGL

Clarify how `UNPACK_FLIP_Y` interacts with Exif metadata

Open
#3,445 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
2.9k
Forks
703
Avg merge
2d 9h
Merged PRs (30d)
4

Description

The WebGL spec should specify whether `UNPACK_FLIP_Y` flag cancels image-embedded orientation metadata or is applied afterwards.

For comparison, the `ImageBitmap` spec says:
> If the value of the `imageOrientation` member of _options_ is `"flipY"`, output must be flipped vertically, disregarding any image orientation metadata of the source (such as EXIF metadata), if any.

However, the `exif-orientation` test asserts that the embedded orientation is always applied (both for `ImageBitmap` and `HTMLImageElement`) before the image is flipped.

Contributor guide

Open the contributing guide

Research direction

Start by reading the WebGL specification language for UNPACK_FLIP_Y, then compare its intended ordering with the cited ImageBitmap wording and the exif-orientation test. Done means the specification clearly states whether embedded orientation is disregarded or applied before flipping, with the test behavior aligned.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation, testing-qa
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.