Re: RE : Drawable copying / manipulation in plugin development

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

 



On Fri, 2010-01-08 at 23:04 -0500, François Gingras wrote:

> They say images are worth a thousand words... So what I'm basically
> trying to do is turn this image:
> 
> http://mat.ulaval.ca/~fgingras/misc/1.png
> 
> into this one:
> 
> http://mat.ulaval.ca/~fgingras/misc/2.png

Do you have to do it on hundreds of images? A simple script
will suffice and you could use gimp in batch mode.  Or even
use Imagemagick to do scaling.  In gimp in script-fu you'd
use gimp-drawable-transform-scale-default, if I understand
what you are trying to do.

If the images are coming from a font you could also have the
font scaled before rendering it -- e.g. use fontforge, or just
assign a new fontmatrix in fontconfig (assuming Linux).

(if you're doing it for a Web page, note that most of the
newest Web browsers can do transformations too now, using CSS)

Hope this helps.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org

_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux