1.3.0 • Published 5 years ago

ko-png-to-dxt v1.3.0

Weekly downloads
2
License
MIT
Repository
-
Last release
5 years ago

Knight Online PNG2DXT Converter

This application will transform your png files to texture files (.dxt)

npm.io

Install

  • install node.js
  • type in terminal npm i ko-png-to-dxt -g

Usage

  • type in terminal png2dxt file.png
  • there will be file.dxt

Tips

You may change the output with -o or --output

png2dxt -o ./test.dxt file.png

You can convert all .png files in cwd by using -d or --directory

cd ./some_folder_has_tons_of_pngs
png2dxt -d

with output directory

cd ./some_folder_has_tons_of_pngs
png2dxt -d -o ./png

It will only work with cwd, I thought this will be safer, and .dxts wont be replicated if they already exist

Dxt Format

You may change the format of output file. Supported output formats;

  • dxt1
  • dxt3
  • dxt5
  • a8r8g8b8
  • x8r8g8b8
  • a4r4b4g4
  • a1r5g5b5
png2dxt -f dxt5 file.png
1.3.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago