Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2022-05-30 08:45:38 +0300
committerlovetox <philipp@hoerist.com>2022-05-30 08:52:33 +0300
commit0f3a42fde2db75b666694cf258a7b6f1e032a85b (patch)
tree07d95ed72af7419447b203d6db968d71f91a0f64 /scripts
parent44bcafaeece862d7eacc04af7f776343aceb8d94 (diff)
chore: Remove obsolete scripts
Diffstat (limited to 'scripts')
-rw-r--r--scripts/dev/multisplit.scm74
-rw-r--r--scripts/dev/pngcrush22
2 files changed, 0 insertions, 96 deletions
diff --git a/scripts/dev/multisplit.scm b/scripts/dev/multisplit.scm
deleted file mode 100644
index 269a55962..000000000
--- a/scripts/dev/multisplit.scm
+++ /dev/null
@@ -1,74 +0,0 @@
-; multisplit: splits up a mavica multi (sprites in one layer) into layers
-; so you make make from png/jpg sprite a gif animation
-; put me in ~/.gimp-ver/scripts and find me script-fu>animators>MultiSplit
-
-(define (script-fu-multisplit multimg
- drawable
- horizontal
- vertical
- delay)
- (let* (
- (width 0)
- (height 0)
- (img 0)
- (layerNum 0)
- (hpos 0)
- (vpos 0)
- (layer 0)
- (floatingLayer 0)
- )
-
- (set! width (/ (car (gimp-image-width multimg)) horizontal))
- (set! height (/ (car (gimp-image-height multimg)) vertical))
- (set! img (car (gimp-image-new width height RGB)))
-
- (set! vpos 0)
- (while (< vpos vertical)
- (set! hpos 0)
- (while (< hpos horizontal)
- (set! layerNum (+ layerNum 1))
- (set! layer (car (gimp-layer-new img width height RGB
- (string-append "Frame" delay "(replace)")
- 100 NORMAL)))
-
- (gimp-layer-add-alpha layer)
- (gimp-drawable-fill layer TRANSPARENT-FILL)
- (gimp-image-add-layer img layer -1)
-
- (gimp-rect-select multimg
- (* hpos width) (* vpos height)
- width height
- REPLACE FALSE 0)
-
- (gimp-edit-copy drawable)
-
- (gimp-selection-all img)
-
- (set! floatingLayer (car (gimp-edit-paste layer 0)))
- (gimp-floating-sel-anchor floatingLayer)
-
- (gimp-selection-none img)
- (gimp-selection-none multimg)
-
- (set! hpos (+ hpos 1))
- )
- (set! vpos (+ vpos 1))
- )
-
- (gimp-display-new img)
- )
-)
-
-(script-fu-register "script-fu-multisplit"
- "<Image>/Script-Fu/Animators/MultiSplit"
- "Split an image into layers"
- "Rick Miller (Rick.Miller@Linux.org)"
- "Rick Miller"
- "05/19/2000"
- "RGB RGBA GRAY GRAYA"
- SF-IMAGE "Image" 0
- SF-DRAWABLE "Drawable" 0
- SF-VALUE "Horizontal Slices" "3"
- SF-VALUE "Vertical Slices" "3"
- SF-VALUE "Default Delay" "\"250ms\"")
-
diff --git a/scripts/dev/pngcrush b/scripts/dev/pngcrush
deleted file mode 100644
index 82fa1d53a..000000000
--- a/scripts/dev/pngcrush
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-# there can be as many input arguments as you want
-# they are all assumed to be PNG file names
-
-# run as sh pngcrush $(ls *png)
-
-# loop through all arguments
-while (( $# >= 1 )); do
- # create temp output file
- # output file has all colorspace chunks removed and optimized compression
- pngcrush -l 9 "$1" "$1".tmp
- # remove the original file
- rm "$1"
- # replace the original with the new optimized output file
- mv "$1".tmp "$1"
- shift
-done
-
-exit 0
-
-# from http://cvs.sourceforge.net/viewcvs.py/tom7misc/vstplugins/scripts/fixpng?rev=1.2&view=auto