Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions getting-started/best-practices.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ If you have a very large image and only part of it will be visible at any given

![Image](/images/getting-started/best-practices/breaking-up-raster-images.webp)

##### **Image Dimensions for WebGL runtimes**

For WebGL runtimes, image memory is allocated in powers of two. A 512×512 image fits efficiently, but a 513×513 image will use the memory of a 1024×1024 texture—quadrupling the memory usage for just one extra pixel per side.

![Image](/images/getting-started/best-practices/webgl2-image-memory-usage.webp)

#### Raster Image Compression

Compression involves reducing the file size by employing various algorithms to discard some image data. You can compress images directly from the Rive editor, which means you maintain the original image but compress the images for runtime use. If the asset is embedded in the animation, this will reduce the file size of the exported riv.
Expand Down
Binary file not shown.