Skip to main content

Bookmarks

Portucalio

Organic forms

Compress PNG images

Compress JPG images

Converting ODF

GIF in GIMP

Portucalio

Portucalio homepage

Organic forms

Organic-forms.org

Compress PNG images

Install: zopfli; pngquant; gnu_parallel

Run in folder with png images:

pngquant --ext .png --force --skip-if-larger --strip --speed 1 *.png
find . -name "*png" | parallel -I% --max-args 1 zopflipng --lossy_transparent -m -y % %

Compress JPG images

mogrify -strip -interlace Plane -gaussian-blur 0.05 -quality 85% *.jpg

or individually

imagick source.jpg -strip -interlace Plane -gaussian-blur 0.05 -quality 85% result.jpg

Converting ODF

soffice --headless --convert-to html:HTML --outdir . hello-world.odt

or

odf2xhtml --plain hello-world.odt > hello-world.html

GIF in GIMP

Convert image to indexed colors