Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Editing FTEQW Image Tool Documentation

From Quake Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 103: Line 103:
  
 
compress:
 
compress:
imgtool64 --astc_6x6_ldr --nomips --ext ktx in.png in2.png ...
+
imgtool64 --astc_6x6_ldr [--nomips] --ext ktx in.png [in2.png ...]
  
 
compress:
 
compress:
imgtool64 --bc3 --premul --nomips in.png
+
imgtool64 --bc3 [--premul] [--nomips] in.png
 
Convert pixel format (to bc3 aka dxt5) before writing to output file.
 
Convert pixel format (to bc3 aka dxt5) before writing to output file.
 
 
Line 114: Line 114:
  
 
merge:
 
merge:
imgtool64 -o output --cube|--3d|--2darray|--cubearray --bc1 foo_*.png
+
imgtool64 -o output [--cube|--3d|--2darray|--cubearray] [--bc1] foo_*.png
 
Convert to different file format, while trying to preserve pixel formats.
 
Convert to different file format, while trying to preserve pixel formats.
  
Line 122: Line 122:
  
 
decompress:
 
decompress:
imgtool64 --decompress --exportmip 0 --nomips in.ktx out.png
+
imgtool64 --decompress [--exportmip 0] [--nomips] in.ktx out.png
 
Decompresses any block-compressed pixel data.
 
Decompresses any block-compressed pixel data.
  
 
create mips:
 
create mips:
imgtool64 --ext mip --bc1 --resize width height --exportmip 2 *.dds
+
imgtool64 --ext mip [--bc1] [--resize width height] [--exportmip 2] *.dds
  
 
create xwad:
 
create xwad:
imgtool64 --genwadx --exportmip 2 --bc1 out.wad srcdir
+
imgtool64 --genwadx [--exportmip 2] [--bc1] out.wad srcdir
  
 
create wad:
 
create wad:
imgtool64 -w --exportmip 2 out.wad *.mipsrcdir
+
imgtool64 -w [--exportmip 2] out.wad *.mipsrcdir
  
 
extract wad:
 
extract wad:
imgtool64 -x --ext png src.wad
+
imgtool64 -x [--ext png] src.wad
  
 
extract bsp:
 
extract bsp:
imgtool64 -x --ext png src.bsp
+
imgtool64 -x [--ext png] src.bsp
 
</pre>
 
</pre>

Please note that all contributions to Quake Wiki are considered to be released under the GNU Free Documentation License 1.3 or later (see Quake Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)