Need your help about DDS format
-
Topic authorGurren Lagann
- Posts: 434
- Joined: 31.01.2018
- Age: 18
- With us: 6 years 10 months
- Location: State of Rio de Janeiro, Brazil
paint.net
"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
- 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
I like to use the command-line package ImageMagick to convert image formats and sizes since its results are reproducible and can be scripted.
e.g.
convert -format dds -define dds:compression=dxt1 input.jpg output.dds
translates input.jpg to output.dds 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.
e.g.
convert -format dds -define dds:compression=dxt1 input.jpg output.dds
translates input.jpg to output.dds 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.
Selden