Page 1 of 1

Posted: 24.07.2018, 23:07
by Gurren Lagann

Posted: 25.07.2018, 14:12
by selden
I like to use the command-line package ImageMagick to convert image formats and sizes since its results are reproducible and can be scripted.

convert -format dds -define dds:compression=dxt1 input.jpg

translates input.jpg to using dxt1 compression.

It also can crop and extract pieces of an image:

convert -crop 512x512+0+0 input.png output.png

extracts a 512x512 portion from the image input.png starting at an offset of 0,0 and writes it to output.png

There are many tutorials available on the Web which describe how to use ImageMagick to manipulate images.