Skip to content
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

Use oiiowriter plugin to writer DPX files #564

Merged
merged 15 commits into from
Aug 30, 2016

Conversation

cchampet
Copy link
Member

@cchampet cchampet commented Jun 17, 2016

⚠️ 3 parameters of the dpxwriter are not ported to the oiiowriter:

  • transfer: metadata that defines the amplitude transfer function used to transform the data from a linear original.
    If needed, there is an oiio property: dpx:Transfer.
  • colorimetric: metadata that defines the appropriate color reference primaries (for additive color systems like television) or color responses (for printing density).
    If needed, there is an oiio property: dpx:Colorimetric.
  • packed: the component data packing method.
    If needed, there is an oiio property: dpx:Packing.

Clement Champetier added 3 commits June 16, 2016 17:53
* This metadata is ignored by most of the format.
* It is taken by the DPX for example.
* This metadata is ignored by most of the format.
* It is taken by the DPX for example.
* This feature exists in the dpxwriter.
* I add this parameter in the oiiowriter to delete the dpxwriter plugin
when all of its features will be available in oiio plugins.
Clement Champetier and others added 9 commits June 17, 2016 14:07
* The orientation is an 'int' and starts with 1 (default).
* Fixed order of 90clockwise (rotated top right) and transverse (rotated
bottom left).
…ndianness

Use enum value instead of hardcoded int.
And set the hint of the 'endianness' parameter.
* This feature exists in the dpxwriter.
* I add this parameter in the oiiowriter to delete the dpxwriter plugin
when all of its features will be available in oiio plugins.
* Since oiio-1.4+, the library made a lot of improvements to write DPX
images.
* For these reasons, the dpx writer is not needed anymore.
…indicated

Avoid having metadata in the output file with empty value.
This parameter could be used in other format than JPEG (PNG for
example).
@cchampet cchampet changed the title [WIP] use oiiowriter plugin to writer DPX files Use oiiowriter plugin to writer DPX files Jun 17, 2016
@cchampet
Copy link
Member Author

I think you could also remove the PNG reader/writer plugins. These plugins have almost the same performance to decode/encode png images (5~10% better than oiio), but the oiio writer plugin has a lot of features the png writer doesn't have (subsampling, metadata...). @fabiencastan What do you think?

@fabiencastan fabiencastan merged commit 918c9b7 into tuttleofx:develop Aug 30, 2016
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.

2 participants