aboutsummaryrefslogtreecommitdiff
path: root/img-fu
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2022-11-14 17:38:33 +0200
committerIgor Pashev <pashev.igor@gmail.com>2022-11-14 21:00:32 +0200
commit433bb35ceeb64e6442e10491f72f635d5ebe7bc0 (patch)
treeed17754629f2fa3ddb5ded1aaa3d28c58ddf7bd7 /img-fu
parent6f4542fb9ab491912532468766b0f0f4adb0cb67 (diff)
downloadgimp-plugin-img-433bb35ceeb64e6442e10491f72f635d5ebe7bc0.tar.gz
Update Script-Fu
Diffstat (limited to 'img-fu')
-rw-r--r--img-fu21
1 files changed, 0 insertions, 21 deletions
diff --git a/img-fu b/img-fu
deleted file mode 100644
index 17c1b6e..0000000
--- a/img-fu
+++ /dev/null
@@ -1,21 +0,0 @@
-(define (img-recode
- srcfile
- destfile
- fmt
- ckey)
-
-(let*
- (
- (image (car (file-img-load RUN-NONINTERACTIVE srcfile srcfile)))
- (drawable (car (gimp-image-get-active-layer image)))
- )
-
- (file-img-save RUN-NONINTERACTIVE image drawable destfile destfile fmt ckey)
-)
-)
-
-(img-recode "samples/rgb.img" "samples/recoded-rgb565.img" "RGB565" "no")
-(img-recode "samples/rgb.img" "samples/recoded-rgba.img" "RGBA" "0x0F0")
-
-(gimp-quit 0)
-