swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] png2swg not displaying first image in loop - no th


From: Matthias Kramm
Subject: Re: [Swftools-common] png2swg not displaying first image in loop - no that's not it
Date: Tue, 12 Jul 2005 18:38:25 +0200
User-agent: Mutt/1.5.6i

On Mon, Jul 11, 2005 at 12:14:22PM -0600, Mark Lane wrote:
> Numerical arguments are fine but the routine for processing command line 
> options should be able to know the difference between "-v 1" and "-v 
> something.png". 

Agreed. The current implementation uses atoi(value), which just returns
zero on failure, and doesn't output a warning to the user.
Concering -v, I now changed the png2swf/jpeg2swf syntax to the -v, -vv,
-vvv syntax used by all the other tools anyway, but it probably still
needs to be fixed for things like -q <quality>.

> It all goes back to a design flaw in processing arguments AFAICT. It
> looks like you are try to break everything up into option/value
> pairs and you introduce the errors there.

I only break things into option/value where the command itself dictates
(in one of the callback functions), that it needs a value.
I'm not sure why you think the argument processing itself is flawed-
Could you elaborate?

Greetings

Matthias






reply via email to

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