Commit 7755595
committed
fix(png): We were not correctly suppressing hint metadata
Each file writer that is capable of writing arbitrary metadata is
supposed to tace care to suppress hints meant for other writers, or
for OIIO in general, not interpret them as literal metadata to write
to the file. PNG was not doing so, and ended up writing hints as
literal metadata. This brings it in line with our behavior when
writing OpenEXR and other formats.
Signed-off-by: Larry Gritz <[email protected]>1 parent 4e9e70f commit 7755595
2 files changed
+24
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
571 | 587 | | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
572 | 591 | | |
573 | 592 | | |
574 | 593 | | |
575 | 594 | | |
576 | 595 | | |
| 596 | + | |
577 | 597 | | |
578 | 598 | | |
579 | 599 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
0 commit comments