Gimp: Använd Script-Fu - en guide
Du kan använda Script-Fu för att köra skript i Gimp-bildredigeraren. I detta praktiska tips förklarar vi hur man använder Script-Fu i Gimp.
Gimp: Hur man använder Script-Fu
- För att automatisera processer i Gimp kan du skriva och tillämpa skript. Använd det integrerade Script-Fu-verktyget för att göra detta. Du kan hitta verktyget i Gimp under "Filters"> "Script-Fu".
- Ange sedan kommandona i konsolen. Du kan också hitta detta på den väg som nämns ovan.
- Alla kommandon som du kan använda i Script-Fu kan hittas i "Procedure Browser" som du kan öppna under "Help".
- Alla kommandon är omgiven av konsoler i konsolen. Kommentarerna representeras av en semikolon.
- Ett enkelt kommando skulle till exempel vara "(gimp-meddelande" Detta är GIMP! ")". Detta kommando skapar en meddelanderuta med texten "Detta är GIMP!".
Använd skript under Script-Fu i Gimp
För att kunna använda dessa skript i Gimp krävs ytterligare steg:
- Öppna Windows-redigeraren och klistra in kommandona från konsolen i redigeraren.
- Spara den här filen som en .scm-fil genom att välja alternativet "Alla filer" under "Spara som" i dialogrutan "Spara".
- Lägg sedan den här filen i Gimps "Skript" -katalog. Du hittar katalogen under "share \ gimp \ 2.0 \ scripts" i Gimp-katalogen.
- Klicka sedan på Gimp på "Filter"> "Script-Fu"> "Uppdatera skript" för att kunna använda skripten.
- Tips: I katalogen "Skript" i Gimp hittar du ytterligare exempel på skript som du kan experimentera med först.
I vårt nästa praktiska tips har vi sammanfattat de viktigaste gimpfunktionerna för nybörjare.