All Projects → cdwfs → Img2ktx

cdwfs / Img2ktx

Licence: mit
Converts common image formats (PNG, JPG, etc.) to GPU-native compressed (BCn, ETC, ASTC) in KTX containers.

Projects that are alternatives of or similar to Img2ktx

Root
The official repository for ROOT: analyzing, storing and visualizing big data, scientifically
Stars: ✭ 1,377 (+1076.92%)
Mutual labels:  graphics
Tinify Java
Java client for the Tinify API.
Stars: ✭ 107 (-8.55%)
Mutual labels:  image-compression
Fuif
Free Universal Image Format
Stars: ✭ 115 (-1.71%)
Mutual labels:  image-compression
Deko3d
Homebrew low level graphics API for Nintendo Switch (Nvidia Tegra X1)
Stars: ✭ 103 (-11.97%)
Mutual labels:  graphics
Yocto Gl
Yocto/GL: Tiny C++ Libraries for Data-Driven Physically-based Graphics
Stars: ✭ 1,391 (+1088.89%)
Mutual labels:  graphics
Spittoon
🖼 Sequential-art comic-strip generator written in Ruby which uses RMagick (2005)
Stars: ✭ 109 (-6.84%)
Mutual labels:  graphics
Distort Grid
distort and warp images in the browser
Stars: ✭ 101 (-13.68%)
Mutual labels:  graphics
Ocamlverse.github.io
Documentation of everything relevant in the OCaml world
Stars: ✭ 117 (+0%)
Mutual labels:  graphics
Vulkan Samples
One stop solution for all Vulkan samples
Stars: ✭ 2,009 (+1617.09%)
Mutual labels:  graphics
Tsbox
tsbox: Class-Agnostic Time Series in R
Stars: ✭ 114 (-2.56%)
Mutual labels:  graphics
Pagebot
Scripted page layout framework for Python.
Stars: ✭ 103 (-11.97%)
Mutual labels:  graphics
As
VCV Rack Modules
Stars: ✭ 104 (-11.11%)
Mutual labels:  graphics
Imagine
🖼️ PNG/JPEG optimization app for macOS, Windows and Linux.
Stars: ✭ 1,859 (+1488.89%)
Mutual labels:  image-compression
Tinyraycaster
486 lines of C++: old-school FPS in a weekend
Stars: ✭ 1,383 (+1082.05%)
Mutual labels:  graphics
Speculid
Easily Manage Graphics in Xcode Projects
Stars: ✭ 115 (-1.71%)
Mutual labels:  graphics
Awesome Livecoding
All things livecoding
Stars: ✭ 1,373 (+1073.5%)
Mutual labels:  graphics
2d Unity Experiments
A collection of visual Unity experiments with latest packages (URP, Shader Graph, Cinemachine, etc).
Stars: ✭ 107 (-8.55%)
Mutual labels:  graphics
Skiasharp.extended
SkiaSharp is a cross-platform, comprehensive 2D graphics API for all .NET platforms. And, here is where you will find all sorts of extras that you can use with it.
Stars: ✭ 118 (+0.85%)
Mutual labels:  graphics
Pictureselector
Picture Selector Library for Android or 图片选择器
Stars: ✭ 11,095 (+9382.91%)
Mutual labels:  image-compression
Bgrabitmap
📜 BGRABitmap graphics library made with Lazarus (Free Pascal).
Stars: ✭ 112 (-4.27%)
Mutual labels:  graphics

img2ktx

img2ktx is a simple command-line utility.

It currently runs on Windows, Linux and MacOS.

It loads images with stb_image. Supported formats include JPEG, PNG, BMP, TGA, GIF, etc.

It optionally generates mipmap chains with stb_image_resize.

It compresses the mipmaps to BC1, BC3, BC7, ETC1, or ASTC with Intel's ISPC Texture Compressor. It can also output uncompressed 32-bit RGBA images. Only the Windows ispc_texcomp library is included in the repo; users on other platforms must provide their own.

It writes the compressed images to a KTX file. If more than one image is provided with identical dimensions, the output KTX file can be either a 2D texture array or a cubemap.

Compile

img2ktx uses submodules for its dependencies. After cloning the repository, be sure to fetch these dependencies:

$ git submodule update --init

Then use CMake 3.15+ to generate a project file for your platform.

Binaries

Download pre-built binaries from the Releases page.

TODO

img2ktx may eventually do the following things as well (but no promises):

  • Output DDS files, because inevitably somebody is going to ask for it.
  • Convert animated GIFs directly into array textures, because what 3D graphics application isn't improved by animated GIFs?
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].