Bỏ qua để đến nội dung
ViGrise Platform

GIF Animation

Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.

PreviewProxy supports animated GIF handling with frame range selection via the gif_anim parameter.

By default, GIF files are processed as a single frame - only the first frame is extracted and returned. To enable animated GIF handling, use the gif_anim parameter.

The gif_anim parameter selects which frames to include in the output.

ValueEffect
allInclude all frames
NInclude only frame N (1-indexed)
N-MInclude frames N through M (inclusive)
-NInclude the last N frames

Resize an animated GIF while keeping all frames:

/200x200,gif_anim/https://example.com/anim.gif

Extract frames 1 through 10:

/gif_anim:1-10/https://example.com/anim.gif

Extract only the third frame:

/gif_anim:3/https://example.com/anim.gif

Include the last 5 frames:

/gif_anim:-5/https://example.com/anim.gif

The gif_af (GIF apply-to-frames) parameter controls whether transforms are applied only to the selected frames or to all frames.

ValueEffect
false (default)Only return frames in the gif_anim range
trueApply transforms to frames in the gif_anim range, but return all frames

Apply blur to only the last 5 frames while keeping all frames in the output:

/blur=3,gif_anim:-5,gif_af/https://example.com/anim.gif