plug-ins/script-fu/scripts/Makefile.am added new script from Cameron

2003-02-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/select-to-pattern.scm: added new
	script from Cameron Gregory. Closes bug #105624.

	* plug-ins/script-fu/scripts/select_to_brush.scm
	* plug-ins/script-fu/scripts/select_to_image.scm: cleaned them up.
This commit is contained in:
Michael Natterer
2003-02-10 15:03:04 +00:00
committed by Michael Natterer
parent 5d402908f8
commit 4745be285b
7 changed files with 125 additions and 48 deletions

View File

@ -61,15 +61,9 @@
(gimp-image-undo-enable image)
(gimp-image-set-active-layer image drawable)
(gimp-display-new new-image)
(gimp-displays-flush)
; (script-fu-export-file 1 img drawable RGB 255 FALSE 2 "-export" "png")
))
(gimp-displays-flush)))
(script-fu-register "script-fu-selection-to-image"
; I prefer this to go under the main selection menu, but this seems more
; approriate for mass consumption
; "<Image>/Select/Selection to Image"
_"<Image>/Script-Fu/Selection/To Image"
"Convert a selection to an image"
"Adrian Likins <adrian@gimp.org>"