Re: [Gimp-developer] copy-paste: position shift with alpha images

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

 



Hi Martin -

First, your questions would be better directed to the gimp-user (instead of 
gimp-developer) list.  And I can also recommend the script-fu group on yahoo.

To answer your question: you can avoid creating the intermediate variable by 
doing
	(gimp-floating-sel-anchor 
	  (car (gimp-edit-paste target-layer FALSE)))

To ensure that your selection winds up in the same place in the new layer, try 
(if you can)
making sure that the layer from which you get your selection is the same size 
as the image, using (perl-fu-layer-to-image-size 1) .  This works on the 
active layer only, and may not work on windows systems lacking perl-fu support.

HTH,

-- 
--Jeff

Jeff Trefftzs <trefftzs@xxxxxxxx>
http://www.tcsn.net/trefftzs			Home Page
http://gug.sunsite.dk/gallery.php?artist=68	Gimp Gallery
http://trefftzs.topcities.com/			Photo Gallery 




[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