donmccurdy / glTF-Transform

glTF 2.0 SDK for JavaScript and TypeScript, on Web and Node.js.
https://gltf-transform.dev
MIT License
1.37k stars 149 forks source link

feat(functions,cli): Expose sharp's limitInputPixels option #1330

Closed donmccurdy closed 6 months ago

donmccurdy commented 6 months ago

Provides an experimental flag on the CLI and textureCompress() function, disabling Sharp's limits on input image size. By default Sharp will not process anything >=16k. For the time being, the --limit-input-pixels flag is hidden from the CLI help output.

See:

https://sharp.pixelplumbing.com/api-constructor

donmccurdy commented 6 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @donmccurdy and the rest of your teammates on Graphite Graphite