Talk About Network

Google





Graphics > GIMP (GNU Image Manipulation Program) > Merge_copy scri...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3037 of 3173
Post > Topic >>

Merge_copy script

by Jo_y <jo_y@[EMAIL PROTECTED] > Jul 27, 2008 at 05:50 AM

Hey,
the new version (2.4.5) of Gimp is much more stable as the last one on
Panther (i'm a Mac user)! It seems faster too, but unfortunately, (i
use Photoshop only in particular situations) is it still slower as
Ph.shop. Why?    :**
But this is only a secondary question, because i like gimp for his
plugins too. (scheme-scripts) i've collected a big amount of these,
and a particular scm-script was very util: the merge_copy.scm
--------------------------

(define (merge-copy inimage indraw)

(set! theImage inimage)

(set! theHeight (car (gimp-image-height theImage)))

(set! theWidth (car (gimp-image-width theImage)))

(gimp-edit-copy-visible theImage)

(set! copy-layer (gimp-layer-new theImage theWidth theHeight 1 "copied
layer" 100 0) )

(gimp-drawable-fill (car copy-layer) 3)

(gimp-image-add-layer theImage (car copy-layer) -1)

(set! copy-float (car (gimp-edit-paste (car copy-layer) 0)))

(gimp-floating-sel-anchor copy-float)

(gimp-image-lower-layer theImage (car copy-layer))

(gimp-image-raise-layer-to-top theImage (car copy-layer))

(gimp-displays-flush)



)

(script-fu-register 	"merge-copy"

			"<Image>/Script-Fu/Gimp-talk.com/merge-copy..."

			"copies the visable layers to a new layer"

			"Karl Ward"

			"Karl Ward"

			"Feb 2006"

			""

			SF-IMAGE      "SF-IMAGE" 0

			SF-DRAWABLE   "SF-DRAWABLE" 0



)

----------------------------------

But now, in Gimp 2.4.5 is outdated!! Nooooooooooooooooooooo!!
 




 1 Posts in Topic:
Merge_copy script
Jo_y <jo_y@[EMAIL PROT  2008-07-27 05:50:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 22:18:59 PST 2009.