Managing memory for a ton of pictures

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
BrotSagtMist
Party member
Posts: 614
Joined: Fri Aug 06, 2021 10:30 pm

Re: Managing memory for a ton of pictures

Post by BrotSagtMist »

My gimp version hasnt these options.
But it looks like this is a support nightmare anyway so this is may be not the way to go.
obey
RNavega
Party member
Posts: 251
Joined: Sun Aug 16, 2020 1:28 pm

Re: Managing memory for a ton of pictures

Post by RNavega »

ImageMagick (a CLI tool, has an official portable version that doesn't need to be installed) seems to support converting to .DDS format with "dxt1" or "dxt5" profiles.

The below was taken from this link here: https://legacy.imagemagick.org/discours ... 99#p167668
fmw42 wrote: From the format page at https://imagemagick.org/script/formats.php
DDS RW Microsoft Direct Draw Surface Use -define to specify the compression (e.g. -define dds:compression={dxt1, dxt5, none}). Other defines include dds:cluster-fit={true,false}, dds:weight-by-alpha={true,false}, dds:fast-mipmaps={true,false}, and use dds:mipmaps to set the number of mipmaps (use fromlist to use the image list).
Have you tried

Code: Select all

convert  'input_file.xxx' -define dd:mipmaps=1 -define dds:compression=dxt1 'DDS:output_file.dds'
There's some notes on the differences between dxt1 and dxt5 in the Löve wiki, scroll down to "Compressed Formats": https://love2d.org/wiki/PixelFormat
Post Reply

Who is online

Users browsing this forum: No registered users and 57 guests