[FFmpeg-devel] [PATCH 2/2] avcodec/tiff: Multi-page support

Paul B Mahol onemda at gmail.com
Sat Mar 30 14:28:18 EET 2019


On 3/29/19, Nick Renieris <velocityra at gmail.com> wrote:
> Στις Παρ, 29 Μαρ 2019 στις 11:05 π.μ., ο/η Paul B Mahol
> <onemda at gmail.com> έγραψε:
>> You should also check max number of available pages.
>> And issue warning if user requested more than available and than provide
>> some
>> page.
>
> Yeah, I _would_ have done that, but the images I've seen don't
> actually contain the max number of pages in PageNumber[1].
> Instead, they seem to contain PageNumber[0] + 1.
> Here's an example from the file I sent (generated with IrfanView):
> https://i.imgur.com/CEWADrD.png
> The PageNumber tag from the last IFD couldn't fit in the screenshot,
> it's PageNumber[0] = 2 and PageNumber[1] = 3.

OK, will apply soon.


More information about the ffmpeg-devel mailing list