[Digikam-devel] Quiet Gimp script to make screenshots

Mikolaj Machowski mikmach at wp.pl
Thu Feb 22 06:47:19 GMT 2007


Dnia czwartek 22 luty 2007, Gerhard Kulzer napisaƂ:
> Am Tuesday 20 February 2007 schrieb Mikolaj Machowski:
> > Dnia wtorek 20 luty 2007, Gerhard Kulzer napisa?:
> > > Hi Mikolaj,
> > > I forgot to give you feedback! Thanks a lot for the script, it's
> > > what I was looking for, except that it does't quite work. The
> > > following last line doesn't go though:
> > > -draw "image Over 1,1 $width,$height $name" final-$name
> > >
> > > convert: Non-conforming drawing primitive definition `image'.
> > >
> > > I played bit around with imagemagick, and it does it also if I use
> > > the line alone and with expanded names. But according to the manual
> > > the syntax is quite correct.
> > > Any idea?
> >
> > Which version of IM do you have? Works for me in IM 6.3. The only
> > explanation I have is that something was borked with whitechars. I am
> > attaching script now.
> >
> > m.
>
> I'm still stuck with 6.2.4 (Debian experimental). I guess that's the
> problem. Will try to upgrade.
>
BTW - in 6.3 you can make it in one line:

convert from.png -bordercolor black -border 1x1 \
	\( +clone -background black -shadow 80x3+7+7 \) \ 
	+swap -background none -mosaic to.png

m.

ps. Courtesy of Anthony Thyssen :)





More information about the Digikam-devel mailing list