texconv

package module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2025 License: MIT Imports: 13 Imported by: 2

README

go-texconv

Go wrapper for DirectXTex texconv with Windows and Linux support.

Installation

go get github.com/zelenin/go-texconv

Usage

package main

import (
    "log"

    "github.com/zelenin/go-texconv"
)

func main() {
    args := []string{"-ft", "png", "-y", "input.dds"}
    result, err := texconv.Texconv(args, true, true, true)
    if err != nil {
        log.Fatalf("texconv failed: %v", err)
    }
    log.Printf("texconv finished with code %d", result)
}

Author

Aleksandr Zelenin, e-mail: aleksandr@zelenin.me

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Texconv

func Texconv(args []string, verbose bool, initCom bool, allowSlowCodec bool) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL