Skip to content
Shapemetry

Io - PNG

API reference — the PNG doors of @huukhanhnguyen/io: readers, writers and their option / result types, all on this page.

import { textureToPng } from '@huukhanhnguyen/io'

Source: ./png. See all formats or the Guide.

API reference

Signatures are generated from the live package .d.ts - not hand-written.

textureToPng

function

textureToPng(pixels: TextureData, options?: PngOptions): Uint8Array
Last updated: 📖 1 min readEdit on GitHub