aboutsummaryrefslogtreecommitdiff
path: root/img-fu
diff options
context:
space:
mode:
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)
-