Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix(tiff): The "tiff:half" hint was only applying to first MIP level#5240

Merged
lgritz merged 1 commit into
AcademySoftwareFoundation:mainAcademySoftwareFoundation/OpenImageIO:mainfrom
lgritz:lg-txhalflgritz/OpenImageIO:lg-txhalfCopy head branch name to clipboard
Jun 28, 2026
Merged

fix(tiff): The "tiff:half" hint was only applying to first MIP level#5240
lgritz merged 1 commit into
AcademySoftwareFoundation:mainAcademySoftwareFoundation/OpenImageIO:mainfrom
lgritz:lg-txhalflgritz/OpenImageIO:lg-txhalfCopy head branch name to clipboard

Conversation

@lgritz

@lgritz lgritz commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

IBA::make_texture() only passes the full metadata to the first level of a MIPmap, and that might include output behavior hints, too! Make this hint "sticky" in the TIFF writer, so if any subimage's first level's spec enables half output, all the MIP levels of that subimage will allow it.

Fixes #5239

IBA::make_texture() only passes the full metadata to the first level
of a MIPmap, and that might include output behavior hints, too!  Make
this hint "sticky" in the TIFF writer, so if any subimage's first
level's spec enables half output, all the MIP levels of that subimage
will allow it.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz

lgritz commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator Author

Any opinions?

@lgritz

lgritz commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator Author

2 weeks, no objections -> merging

@lgritz
lgritz merged commit 393899e into AcademySoftwareFoundation:main Jun 28, 2026
27 checks passed
@lgritz
lgritz deleted the lg-txhalf branch June 28, 2026 16:29
lgritz added a commit that referenced this pull request Jul 1, 2026
…5240)

IBA::make_texture() only passes the full metadata to the first level of
a MIPmap, and that might include output behavior hints, too! Make this
hint "sticky" in the TIFF writer, so if any subimage's first level's
spec enables half output, all the MIP levels of that subimage will allow
it.

Fixes #5239

Signed-off-by: Larry Gritz <lg@larrygritz.com>
lgritz added a commit that referenced this pull request Jul 15, 2026
…5240)

IBA::make_texture() only passes the full metadata to the first level of
a MIPmap, and that might include output behavior hints, too! Make this
hint "sticky" in the TIFF writer, so if any subimage's first level's
spec enables half output, all the MIP levels of that subimage will allow
it.

Fixes #5239

Signed-off-by: Larry Gritz <lg@larrygritz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Mismatched bit-depth on Mipmap tiles

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.