Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mesonium
gajim
Commits
0f3a42fd
Commit
0f3a42fd
authored
2 years ago
by
Philipp Hörist
Browse files
Options
Downloads
Patches
Plain Diff
chore: Remove obsolete scripts
parent
44bcafae
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/dev/multisplit.scm
+0
-74
0 additions, 74 deletions
scripts/dev/multisplit.scm
scripts/dev/pngcrush
+0
-22
0 additions, 22 deletions
scripts/dev/pngcrush
with
0 additions
and
96 deletions
scripts/dev/multisplit.scm
deleted
100644 → 0
+
0
−
74
View file @
44bcafae
; 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\""
)
This diff is collapsed.
Click to expand it.
scripts/dev/pngcrush
deleted
100644 → 0
+
0
−
22
View file @
44bcafae
#!/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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment