Need your help about DDS format

Post requests, images, descriptions and reports about work in progress here.
Topic author
tymbusku
Posts: 1
Joined: 20.07.2018
With us: 2 months 30 days

Need your help about DDS format

Post #1by tymbusku » 20.07.2018, 09:00

Hello,
I am a new user of Celestia.
I would like to know how to transform starting from an format JPEG or PNG picture into an dds format.
Which software it is necessary to use to do that?
How to create several pictures dds format of 512*512 of one only kid picture of 2048*1024?

Gurren Lagann
Posts: 92
Joined: 31.01.2018
With us: 8 months 19 days

Post #2by Gurren Lagann » 24.07.2018, 23:07

paint.net

Avatar
selden
Posts: 10245
Joined: 04.09.2002
With us: 16 years 1 month
Location: NY, USA

Post #3by 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.
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


Return to “Add-on development”

Who is online

Users browsing this forum: 4 guests