On Jan 30, 2008 10:35 AM, Senectus . <[EMAIL PROTECTED]> wrote:
> I'm a very occasional user of the GIMP and various other tools, one
> thing that I miss terribly in GIMP is the ability to pick and use a
> "shape"
> In PSP you can, in a menu system pick open a menu with a large
> assortment of shapes such as arrows, speech bubbles etc and plonk them
> on an image then rotate and resize to suit your purposes.
>
> Is anyone aware of a plugin or something for the GIMP that allows the
> same thing?
> I know that if I spent an hour or so dicking around I might be able to
> simulate the same function but what I'm after is speed and clean
> simplicity...
> _______________________________________________
> Gimp-user mailing list
> Gimp-user@lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
>

No.
A plugin for this would be fairly simple.
Setup:
a) designate a directory from which the menu is populated (eg
'~/.gimp-2.5/shapes')
b) export some paths as SVGs into that directory

Runtime:
a) populate your menu from what SVGs are currently in your shapes directory
b) import them, scaling them to a preset size (say 1/4 of current layer size)
c) create a new transparent layer; enable 'preserve alpha'
d) path to selection
e) fill selection with FG color
f) delete the path

Note: this is not ideal. Later transforming of the raster image incurs
some data loss necessarily.
Personally, if this were my workflow, I would do the following:
* adjust the plugin to remove step f)
* create another plugin that simply updates the layer with the shape
of the path that was originally used to create it. This would clear
the layer, path to selection, fill selection with FG color

What cannot be done with the current GIMP plugin system is dynamic
alteration of the image menus. So any such menu would have to come up
in it's own window or popup.
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to