KhronosGroup / KhronosGroup/glTF-Validator

Images data validation

Open
#21 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
470
Forks
77
PR merge metrics
No merged PRs in 30d

Description

Right now, Validator checks only that image dimensions are powers-of-two.

Next checks:
- [ ] Detect when number of channels doesn't seem to match material usage (e.g., pure grayscale image used for Metal-Roughness texture).
- [ ] Detect when image defines custom colorspace/gamma/intent.
- [ ] Detect when image uses non-square pixels.
- [ ] Detect EXIF Orientation flag in JPEG images.

Thoughts?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading Validator's existing image-dimension power-of-two checks. Determine how image channels, colorspace metadata, pixel aspect ratio, and JPEG EXIF Orientation are exposed, then verify that validation covers each listed case without incorrectly flagging valid images.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.