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

New attrib "oiio:subimages" says number of subimages, if known #2344

Merged
merged 1 commit into from Sep 20, 2019

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Sep 19, 2019

It's the number of frames for movie files, number of subimages for
other files.

Set and positive only if it can be known inexpensively from the file
header. If absent or zero, it means there was no easy way to determine
the number of frames or subimages from just reading the header (in that
case, you'll have to discover the subimages the old fashioned way,
repeatedly seeking to subimages until you fail).

It's the number of frames for movie files, number of subimages for
other files.

Set and positive only if it can be known inexpensively from the file
header. If absent or zero, it means there was no easy way to determine
the number of frames or subimage from just reading the header (in that
case, you'll have to discover the subimages the old fashioned way,
repeatedly seeking to subimages until you fail).
@talonrenaud
Copy link

This is great. I'll try to implement it this week end if I can compile the master branch.
Thank you.

@lgritz lgritz merged commit 46862d8 into AcademySoftwareFoundation:master Sep 20, 2019
@lgritz lgritz deleted the lg-subimages branch September 20, 2019 17:29
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.

None yet

2 participants