Need your help about DDS format

Post requests, images, descriptions and reports about work in progress here.
Topic author
Gurren Lagann
Posts: 249
Joined: 31.01.2018
Age: 14
With us: 2 years 5 months
Location: State of Rio de Janeiro, Brazil

Post #1by Gurren Lagann » 24.07.2018, 23:07
"The tomorrow we're trying to reach is not a tomorrow you had decided on!"
- Simon the Digger
"Nothing is impossible for me, as long I'm determinated to keep moving forward!"
"If other people aren't going to do it, I'm going to do it myself!"
- Me (Gurren)

Current major projects:
- Aur Cir
- Cel+
- Project Sisyphus
- Populating the Local Group
- An galaxy generator

Posts: 10136
Joined: 04.09.2002
With us: 17 years 10 months
Location: NY, USA

Post #2by selden » 25.07.2018, 14:12

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.

Return to “Add-on development”

Who is online