Slices and joins scriptfu is useful when you want to split one image 'file' into smaller 'files', and to recombine it successively. One single image 'file' can be split into unlimited number of files. Image-slice script save on the file imagename.rcm all the data for the reconstruction. For more information ..
I need this... but to export tiles with their alpha preserved. I can't use it for what I need while it places them on a white background. Can anyone fix this or give me an idea how I could do it myself (if it isn't too complicated :S)
Whee, and played with this language for the very first time.
Ok I actually just made a couple of very small changes to your script to get an alpha transparency instead of a white background. Sorry.. x_x
Until The GIMP team get around to taking full advantage of GEGL, this script is excellent for editing *large* images. Finally I can just go and edit the section I need* without waiting for the swaptacular to end after each minor edit.
Comments
error
i get this error when i am trying to slice my picture:
error when trying to use script-fu-image-slice:
Error: write: argument 2 must be: output_port
No Alpha :(
I need this... but to export tiles with their alpha preserved. I can't use it for what I need while it places them on a white background. Can anyone fix this or give me an idea how I could do it myself (if it isn't too complicated :S)
Thanks, though! It's very good otherwise!
Got the Alpha in!
Whee, and played with this language for the very first time.
Ok I actually just made a couple of very small changes to your script to get an alpha transparency instead of a white background. Sorry.. x_x
Here's the bit as it was:
(set! newimage (car (gimp-image-new inWidth inHeight type)))
(set! newlayer (car (gimp-layer-new newimage inWidth inHeight type "Sfondo" 100 NORMAL)))
(gimp-image-add-layer newimage newlayer 0)
(gimp-drawable-fill newlayer BG-IMAGE-FILL)
(set! activelayer (car (gimp-image-set-active-layer newimage newlayer)))
(set! floating-sel (car (gimp-edit-paste newlayer FALSE)))
(gimp-floating-sel-anchor floating-sel)
And here's what I changed it to:
(set! newimage (car (gimp-image-new inWidth inHeight type)))
(set! newlayer (car (gimp-layer-new newimage inWidth inHeight type "Sfondo" 0 NORMAL)))
(gimp-image-add-layer newimage newlayer 0)
;(gimp-drawable-fill newlayer BG-IMAGE-FILL)
(gimp-layer-add-alpha newlayer)
(gimp-edit-clear newlayer)
(set! activelayer (car (gimp-image-set-active-layer newimage newlayer)))
(set! floating-sel (car (gimp-edit-paste newlayer FALSE)))
(gimp-floating-sel-anchor floating-sel)
Again, sorry for the butchery, but now this is exactly what I need! Very grateful, many thanks!!
Thank you!
Until The GIMP team get around to taking full advantage of GEGL, this script is excellent for editing *large* images. Finally I can just go and edit the section I need* without waiting for the swaptacular to end after each minor edit.