[Digikam-users] Using digikam on two computers?

Mikolaj Machowski mikmach at wp.pl
Mon Jun 19 11:58:12 BST 2006


Dnia niedziela, 18 czerwca 2006 23:06, Arnd Baecker napisaƂ:
> Hi Mikolaj,
>
> On Sun, 18 Jun 2006, Mikolaj Machowski wrote:
>
> [...]
>
> > I don't read Python well but I see that you put much effort to check
> > image size. You don't need to do that. Just
> >
> > mogrify -resize "1024>x768>" image.jpg
> >
> > Operation will be performed only when image size is bigger.
> >
> > Be careful with quoting.
>
> This is very nice!!  This will shorten the code considerably.

I forgot to explain why quoting is important - if you miss something
'>' will be treated as redirection and you end will all images 0 byte size
:) BTDT :(

m.
-- 
"Statistics are like bikinis. What they reveal is suggestive,
        but what they conceal is vital" - Aaron Levenstein




More information about the Digikam-users mailing list