-
-
Notifications
You must be signed in to change notification settings - Fork 56.4k
add getFrameCount() member function to BaseImageDecoder #25814
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
149900b to
817a0f1
Compare
|
@asmorkalov @vrabaud in the beginning used |
|
All the other member functions of |
|
@dan-masek thank you for your reminding cameCase.. |
|
Hmmm, I am not sure this is the right way to go: it is going to clutter the image decoding API. Let's create a proper animation decoder class instead. |
|
@vrabaud imho this PR mostly related current image decoders. TIFF Avif etc. |
|
imcount now returns the number of frames of an animation (e.g. AVIF), not just a multi-page image anymore. The doc needs to be updated. |
@vrabaud could you please check the documentation update. |
|
THx @sturkmen72 . @asmorkalov , I believe it is good to go |
|
@vrabaud please approve the PR then. |
Related : #24855
adds
getFrameCount()member function to BaseImageDecoder.Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.