@ludicon/spark.js 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,7 +8,9 @@ Real-time texture compression library for the Web.
8
8
 
9
9
  It enables the use of standard image formats in WebGPU applications transcoding them at load-time to native GPU formats like BC7, ASTC, and ETC2, using fast, high-quality GPU encoders.
10
10
 
11
- > Try the [image viewer](https://ludicon.com/sparkjs/viewer/) or the [gltf demo](https://ludicon.com/sparkjs/gltf-demo/)
11
+ Try the [image viewer](https://ludicon.com/sparkjs/viewer/) or the [gltf demo](https://ludicon.com/sparkjs/gltf-demo/):
12
+
13
+ [<img src="https://ludicon.com/sparkjs/viewer/og.jpg" width="49%">](https://ludicon.com/sparkjs/viewer/) [<img src="https://ludicon.com/sparkjs/gltf-demo/og.jpg" width="49%">](https://ludicon.com/sparkjs/gltf-demo/)
12
14
 
13
15
  ---
14
16
 
@@ -103,7 +105,7 @@ Load an image and encode it to a compressed GPU texture.
103
105
  Hint for the automatic format selector. When no explicit format is provided, the format is assumed to be `"rgb"`. Supplying `alpha: true` will default to "rgba" instead.
104
106
 
105
107
  - **`preferLowQuality`**
106
- Hint for the automatic format selector. When the input format is `"rgb"` it chooses 8 bit per block formats like `"bc1"`` or `"etc2"` instead of `"bc7"`` or `"astc"`.
108
+ Hint for the automatic format selector. When the input format is `"rgb"` it chooses 8 bit per block formats like `"bc1"` or `"etc2"` instead of `"bc7"` or `"astc"`.
107
109
 
108
110
  - **`mips`** or **`generateMipmaps`** (`boolean`)
109
111
  Whether to generate mipmaps. Mipmaps are generated with a basic box filter in linear space. Default: `false`.