User Tools

Site Tools


howto:convert-images

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
howto:convert-images [2025/05/19 18:26] – [lossless changing containers between webm/mov/mp4/mkv/m4v] Wulf Rajekhowto:convert-images [2025/05/20 11:23] (current) – [lossy conversion of png to jpg] Wulf Rajek
Line 32: Line 32:
 <code> <code>
 find . -iname '*.png' | while read i; do mogrify -format jpg "$i" && rm "$i"; echo "Converted $i to ${i%.*}.jpg"; done find . -iname '*.png' | while read i; do mogrify -format jpg "$i" && rm "$i"; echo "Converted $i to ${i%.*}.jpg"; done
 +</code>
 +
 +===== png to ico =====
 +To create favicon ico files, the following command creates multiple sizes and stores them in the ico file and keeps transparency. Adjust as required.:
 +<code>
 +convert logo.png -define icon:auto-resize=256,64,48,32,16 favicon.ico
 </code> </code>
  
howto/convert-images.txt · Last modified: by Wulf Rajek