2D animationExperimental

PAG animations: online viewer for .pag files

Thumbnails and a viewer for Tencent PAG (.pag) animations that plays, steps through frames, switches backdrops and lists replaceable text and image slots; inspects compositions, layer trees, markers, fonts and embedded images. Includes experimental formats; see the limits below.

Formats
  • .pag

Experimental: .pag support is still being refined. If you run into display or parsing issues, please send feedback in the app with the source app and what happened.

PAG animations

Capabilities

What it reads and its limits

Browse Tencent PAG (.pag) motion graphics without opening PAGViewer or After Effects: transparent thumbnails in the grid, a zoomable and frame-steppable preview, and a full breakdown of compositions, layers, replaceable slots, fonts and markers.

  • Inspection uses a pure TypeScript, zero-WASM binary TLV parser that reads the header, tag level, canvas dimensions, frame rate, frame count, duration and composition type (vector, bitmap sequence, or embedded H.264 video sequence) directly in the background.
  • The composition lists file parameters, replaceable text and image slots, the main composition's parent-child layer tree (showing layer type, frame range, visibility, track mattes, masks, effects and styles), precompositions, embedded images (format, size and byte length), fonts and markers. Properties report the main composition's width, height, animation count (1) and duration.
  • Thumbnails and the preview run Tencent's open-source libpag WebAssembly runtime inside a dedicated Web Worker with WebGL OffscreenCanvas on a transparent background. Thumbnails pick the middle frame first and fall back across quarters, ends and 24 evenly spaced samples when early frames are blank.
  • The preview supports cursor-centered wheel zoom, click-and-drag panning, double-click Fit / 1:1 toggle and a 4-color backdrop switcher (checkerboard, gray, white, black) synced with the host image background preference. The bottom timeline provides Play/Pause, previous/next frame (, / .), loop toggle, scrubbing slider and frame/seconds/fps readout. Files with replaceable text or image slots show a collapsible read-only panel in the top-right corner; clicking a marker in the inspector jumps to that frame.

Limits

To avoid shipping proprietary/LGPL software video decoders (ffavc), Vormio does not decode embedded H.264 video sequences (BMP video compositions). Pure vector and bitmap-sequence .pag files render normally; hybrid files render their vector, image and text layers and note that the video track is omitted; video-only .pag files return no thumbnail and show a clear notice in the preview instead of a blank canvas.

Encrypted PAG v3 files are not supported. Embedded audio is not played. Text layers render using available system fallback fonts. Limits: 128 MiB maximum file size; no thumbnail or preview when total canvas and embedded image pixels exceed 64 megapixels or layer count exceeds 10,000; up to 2,000 layers are listed in the composition tree. Thumbnails time out after 20 seconds and preview opening times out after 60 seconds.

All bundled samples come from the official Tencent/libpag open-source repository (Apache-2.0): like.pag (vector icon animation), PAG_LOGO.pag (multi-layer vector with markers), replacement.pag (replaceable image slot) and marker.pag (replaceable text slot, font table and markers). Sources and license details are listed in README.txt in the samples folder.

Where to inspect

Choose how to inspect your files

Start in your browser

The web app reads one local folder at a time. UID / GUID references are marked “Not checked”.

Working across folders?

Desktop links multiple folders, filters by properties, shows what references a file and watches for changes.

Related formats

Related formats