-
Notifications
You must be signed in to change notification settings - Fork 648
fix(exr): fill in OpenEXR lineOrder attribute when reading #4628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: vernalchen <[email protected]>
lgritz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you'll need to make the equivalent change in exrinput.cpp.
Also, in both of those files, there's a line that purports to ignore such lines (just search for "lineorder" and you'll see it), which should probably be removed.
Signed-off-by: vernalchen <[email protected]>
| case EXR_ATTR_ENVMAP: | ||
| case EXR_ATTR_COMPRESSION: | ||
| case EXR_ATTR_CHLIST: | ||
| case EXR_ATTR_LINEORDER: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove ignore line for lineOrder
lgritz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, now you just need to fix all the tests so CI passes.
Signed-off-by: vernalchen <[email protected]>
|
I think the clang-format test caught some nonstandard formatting. Is this easily fixable on your end? If not, I can do it from my end as well. |
It will be very helpful if you could help fix test failures. |
|
Hi, I'll take care of the test failures. Also, I'm not sure why you changed the name from "openexr:lineOrder" to "lineOrder", but it should have been the first way. I'm in the middle of this now, please don't update until after I've done so. |
Signed-off-by: Larry Gritz <[email protected]>
HI, I have problems running tests locally, so I did the change according to the CI logs, such as below. It's glad to hear that you are helping with the test failures, thanks so much! |
lgritz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed up the test output and attribute name. All CI seems to pass now, LGTM!
…ftwareFoundation#4628) Fill in OpenEXR lineOrder attribute when parsing the header in OpenEXRCoreInput::PartInfo::parse_header() --------- Signed-off-by: vernalchen <[email protected]>
…ftwareFoundation#4628) Fill in OpenEXR lineOrder attribute when parsing the header in OpenEXRCoreInput::PartInfo::parse_header() --------- Signed-off-by: vernalchen <[email protected]> Signed-off-by: Scott Wilson <[email protected]>
…ftwareFoundation#4628) Fill in OpenEXR lineOrder attribute when parsing the header in OpenEXRCoreInput::PartInfo::parse_header() --------- Signed-off-by: vernalchen <[email protected]> Signed-off-by: Scott Wilson <[email protected]>
Description
Fill in OpenEXR lineOrder attribute when parsing the header in OpenEXRCoreInput::PartInfo::parse_header()
Tests
Checklist:
need to update the documentation, for example if this is a bug fix that
doesn't change the API.)
(adding new test cases if necessary).
corresponding Python bindings (and if altering ImageBufAlgo functions, also
exposed the new functionality as oiiotool options).
already run clang-format before submitting, I definitely will look at the CI
test that runs clang-format and fix anything that it highlights as being
nonconforming.