Bug#479196: --output-pages 2 ignores additional output filenames

2008-05-12 Thread Julien BLACHE
Jens Gulden <[EMAIL PROTECTED]> wrote:

Hi,

> Yes, and if someone really needs a sequence with constant filenames:
>
> unpaper --layout double --output-pages 2 --input-file-sequence
> input.pnm --output-file-sequence out1.pnm out2.pnm

Ah, I guess we're done with this one then, and I need to fix the doc
in the package :-)

JB.

-- 
 Julien BLACHE <[EMAIL PROTECTED]>  |  Debian, because code matters more 
 Debian & GNU/Linux Developer|   
 Public key available on  - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#479196: --output-pages 2 ignores additional output filenames

2008-05-12 Thread Jeffrey Ratcliffe
2008/5/12 Jens Gulden <[EMAIL PROTECTED]>:
>  unpaper --layout double --output-pages 2 --input-file-sequence input.pnm
> --output-file-sequence out1.pnm out2.pnm

Ah. I didn't realise that this was possible.

But

unpaper --layout double --output-pages 2 in.pnm out1.pnm out2.pnm

yields

Processing sheet: in.pnm -> out1.pnm, out1.pnm
file out1.pnm already exists (use --overwrite to replace).
*** error: Could not save image data to file out1.pnm.

and I still think that it is a bug that unpaper tries to write to
out1.pnm twice. It should stop and complain that the input is
ambiguous.

Regards

Jeff



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#479196: --output-pages 2 ignores additional output filenames

2008-05-03 Thread Jeffrey Ratcliffe
Package: unpaper
Version: 0.3-1
Severity: normal

unpaper --layout double --output-pages 2 in.pnm out1.pnm out2.pnm

yields

Processing sheet: in.pnm -> out1.pnm, out1.pnm
file out1.pnm already exists (use --overwrite to replace).
*** error: Could not save image data to file out1.pnm.

It would be good if unpaper were intelligent enough to allow the
filename of the second page to be specified. Writing to the same file
twice is fairly stupid.

I realise that

unpaper --layout double --output-pages 2 in.pnm out%d.pnm

works correctly:

Processing sheet: clean_segfault.pnm -> out1.pnm, out2.pnm

--- System information. ---
Architecture: i386
Kernel:   Linux 2.6.24-16-generic



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#479196: --output-pages 2 ignores additional output filenames

2008-05-03 Thread Julien BLACHE
"Jeffrey Ratcliffe" <[EMAIL PROTECTED]> wrote:

Hi Jens,

Another feature request below.

> unpaper --layout double --output-pages 2 in.pnm out1.pnm out2.pnm
>
> yields
>
> Processing sheet: in.pnm -> out1.pnm, out1.pnm
> file out1.pnm already exists (use --overwrite to replace).
> *** error: Could not save image data to file out1.pnm.
>
> It would be good if unpaper were intelligent enough to allow the
> filename of the second page to be specified. Writing to the same file
> twice is fairly stupid.
>
> I realise that
>
> unpaper --layout double --output-pages 2 in.pnm out%d.pnm
>
> works correctly:
>
> Processing sheet: clean_segfault.pnm -> out1.pnm, out2.pnm

JB.

-- 
 Julien BLACHE - Debian & GNU/Linux Developer - <[EMAIL PROTECTED]> 
 
 Public key available on  - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]