Aseprite & Swatch Previews

作者:refern

格式refern 出品

Crisp previews of Aseprite sprites (.aseprite, .ase) and Adobe Swatch Exchange palettes (.ase), with an animation and layer viewer.

隨附於 refern版本 1.0.0

螢幕截圖

簡介

See Aseprite sprites and Adobe Swatch Exchange palettes in your refern library as crisp thumbnails, with a viewer for animations and layers.

What it does

  • Sprites (.aseprite, .ase): the grid shows the first frame with all visible layers. Small sprites scale up by whole numbers, so every pixel stays sharp, and refern marks them as pixel art.
  • Swatch files (.ase): the grid shows the palette, up to 64 colors.
  • Viewer: open a sprite to play its animation, step through frames, pick an animation tag, zoom from 1x to 16x, change the background, and show or hide layers. Open a swatch file to see every color; click a color to copy its hex value.

How to use it

It is on by default. Add .aseprite or .ase files to your library and their thumbnails appear. Double-click one to open the viewer. To turn it off, use its switch on the Extensions page.

What it can access

Only the file you look at. refern hands it the bytes of one sprite or swatch file at a time, and it gives back a picture. It cannot read or change your library, and it cannot use the network.

Limits

  • Tilemap, reference and group layers are not drawn.
  • The viewer is read-only. It does not edit sprites.
  • The viewer opens files up to 64 MB.

Build

Needs Rust 1.90 or later. From this folder:

rustup target add wasm32-unknown-unknown
cargo build --release --locked --target wasm32-unknown-unknown
cp target/wasm32-unknown-unknown/release/refern_aseprite_decoder.wasm decoder.wasm
npx @refern/cli plugin pack .     # writes <id>-<version>.refernplugin

版本記錄

  1. 1.0.0需要 refern 1.13.0 或更新版本