Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Crunch
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Microhacks
Crunch
Commits
523c6e8a
Verified
Commit
523c6e8a
authored
2 years ago
by
Louis
Browse files
Options
Downloads
Patches
Plain Diff
Update readme with links
parent
83d8f694
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Pipeline
#333
passed with stages
in 1 minute and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+21
-24
21 additions, 24 deletions
README.md
with
21 additions
and
24 deletions
README.md
+
21
−
24
View file @
523c6e8a
...
...
@@ -14,34 +14,31 @@ The main value of Crunch is reproducible image processing, as defined by a [pipe
Basic CLI usage:
```
shell
USAGE:
crunch
[
OPTIONS] <IN_PATH> <OUT_PATH> <SUBCOMMAND>
ARGS:
<IN_PATH> The path to the spritesheet file
<OUT_PATH> The path to the output file
OPTIONS:
-f
,
--format
<FORMAT> Force Crunch to
read
the input file as a specific format
[
possible
values: png, jpg, gif, ico, tga, tiff, bmp]
-h
,
--help
Print
help
information
-V
,
--version
Print version information
SUBCOMMANDS:
extrude Take each tile
in
an image and
expand
its borders by a given amount
flip Flip an image along one or both axis
help
Print this message or the
help
of the given subcommand
(
s
)
palette Create a palette file containing every distinct colour from the input image
pipeline Execute a pipeline file to run multiple commands on one or more images
remap Convert the colour space of an input image to the given palette
rotate Apply a clockwise rotation to the image
scale Make an image larger or smaller
Command line asset manipulation,
set
up a pipeline once and run it against all of your files
Usage: crunch <COMMAND>
Commands:
rotate Rotate an image clockwise by the given degree
extrude Take each tile
in
an image and
expand
its borders by a given amount. Optionally fill with nearby pixels instead of empty space
palette Create a palette file containing every distinct colour from the input image
scale Resize an image by a scale
factor
flip Flip an image along one or more axis
remap Convert the colour space of an image to that of a given palette file
pipeline Execute a predefined pipeline
reduce Limit the number of colours by quantity or threshold
split
Take a spritesheet and
split
into individual sprites, skipping empty space
help
Print this message or the
help
of the given subcommand
(
s
)
Options:
-h
,
--help
Print
help
-V
,
--version
Print version
```
## Downloads
-
[
Latest Release
](
https://lab.lcr.gr/microhacks/crunch/-/jobs/artifacts/trunk/raw/target/release/crunch?job=build-linux
)
-
[
Latest Linux Version
](
https://lab.lcr.gr/microhacks/crunch/-/jobs/artifacts/trunk/raw/target/release/crunch?job=build-linux
)
-
[
Latest Windows Version
](
https://lab.lcr.gr/microhacks/crunch/-/jobs/artifacts/trunk/raw/target/x86_64-pc-windows-gnu/crunch.exe?job=build-windows
)
## Build From Source
...
...
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