![]() |
How to remove alpha layer with script-fu - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP) +--- Thread: How to remove alpha layer with script-fu (/Thread-How-to-remove-alpha-layer-with-script-fu) |
How to remove alpha layer with script-fu - Gravitus - 09-21-2017 I need to make action with script-fu: Layer->Transparency->Remove Alpha Channel ![]() I am using this chunk of script: (define (pirmas-crop image layer) (let* ( (filename (car (gimp-image-get-filename image))) ) (HERE I WANT INPUT ROW TO REMOVE ALPHA CHANNEL) (file-jpeg-save 1 image layer filename filename 0.93 0 0 1 "" 2 0 0 0) ) ) RE: How to remove alpha layer with script-fu - dinasset - 09-21-2017 use: gimp-layer-flatten "Remove the alpha channel from the layer if it has one." RE: How to remove alpha layer with script-fu - Gravitus - 09-21-2017 Awesome forum. Thanks! |