swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] [PATCH] Multiple page output in swfrender


From: Tim Whittington
Subject: [Swftools-common] [PATCH] Multiple page output in swfrender
Date: Wed, 27 Jun 2012 10:34:14 +1200 (NZST)

swfrender has some existing support for detecting page ranges, but only outputs the first page matched.

I've modified it to output multiple pages:
- each page in the specified page range is selected for output
- each page is output to an individual file
- the output filename is suffixed with the page number

Patch is attached (the GitHub mirror doesn't appear current, so I haven't tried a pull request via that channel).
Has been tested on OS X Snow Leopard and RHEL 6.2 x86_64.

There was/is mixed tabs/spaces in swfrender.c, and some of the existing indenting was broken, which I've fixed in sections I modified - if you're strict about whitespace changes let me know and I'll re-patch minimally.

cheers
tim

Attachment: swfrender-multiple-pages.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]