new script: image compress
This commit is contained in:
@@ -41,6 +41,11 @@ kill every wine process including processes hanging
|
||||
### webptogif.sh
|
||||
convert animated .webp at $1 (path) to a gif
|
||||
|
||||
### image_compress.sh
|
||||
Usage: `./image_compress.sh <input> <output.jpg> <size in bytes>`
|
||||
Compress an image until it's below a specified target size. Output format is JPEG, regardless of the input format.
|
||||
(requires ImageMagick)
|
||||
|
||||
### convert_md_to_pdf.sh
|
||||
(need to be used with listings-setup.tex in the same folder, xelatex and pandoc are required)
|
||||
convert infile.md in the current folder to a pdf file (outfile.pdf) with code blocks in red boxes.
|
||||
|
||||
Reference in New Issue
Block a user