add getFrameCount() member function to BaseImageDecoder#25814
add getFrameCount() member function to BaseImageDecoder#25814asmorkalov merged 1 commit intoopencv:4.xfrom
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.