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

Re: using convert to batch convert



-----BEGIN PGP SIGNED MESSAGE-----

On Thu, Aug 02, 2001 at 04:24:41PM +1000, James Preston wrote:
> On Wed, Aug 01, 2001 at 11:00:07PM -0700, Miaoling Chiu wrote:
> 
> $ for i in *.gif
> do
>     convert -sample 50% $i ${i%.gif}.png
> done
> 
> ... careful. That assumes that the source image is completely
> read and closed before the output file is produced.

... no it doesn't. Sorry.  Speed-reading, again. "convert -sample 50%
$i $i" would be a worry.  :-?


James.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQBVAwUBO2jzkiX8mcqArqQRAQE2KQH/RZ7AILw5/ncIbrksemComFdtwurqN0G5
2WFPFBslkpigTOuxrl6A4Ivn/9wHj0aSiq7SNRb1qV/X4aRrBmNFYw==
=hy/L
-----END PGP SIGNATURE-----



Reply to: