alpha
Login
or
Join now
kasper.space
/
my-bash-scripts
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/probablykasper/my-bash-scripts. My personal bash scripts
cli
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
to: Add jxl
author
Kasper
date
2 months ago
(Apr 30, 2026, 6:35 PM +0200)
commit
fd3a6919
fd3a691987872b590b431f62eee4038ebdd2e4e9
parent
634ad20b
634ad20be0171dba37ba029c09dc3850c36a770a
+4
-3
1 changed file
Expand all
Collapse all
Unified
Split
bin
to
+4
-3
bin/to
View file
Reviewed
···
41
41
42
42
`green Image formats:`
43
43
`cyan jpg` 90 quality. Custom quality example: `cyan jpg:75` (0-100)
44
44
+
`cyan jxl` 90 quality. Custom quality example: `cyan jxl:75` (0-100)
44
45
`cyan png`
45
46
`cyan webp` 90 quality. Custom quality example: `cyan webp:75` (0-100)
46
47
`cyan gif`
···
158
159
png)
159
160
CMD=magick
160
161
;;
161
161
-
jpg|webp)
162
162
+
jpg|webp|jxl)
162
163
CMD=magick
163
164
if [[ $QUALITY_CHANGED != true ]]; then
164
165
OPTIONS+=("-quality" "90")
165
166
fi
166
167
;;
167
167
-
jpg:*|webp:*)
168
168
+
jpg:*|webp:*|jxl:*)
168
169
CMD=magick
169
169
-
REGEX="^(jpg|webp)(:|-|\/)?([0-9]{1,3})(%)?$"
170
170
+
REGEX="^(jpg|webp|jxl)(:|-|\/)?([0-9]{1,3})(%)?$"
170
171
if [[ "$FORMAT" =~ $REGEX ]]; then
171
172
FORMAT="${match[1]}"
172
173
if [[ $QUALITY_CHANGED != true ]]; then