DEVELOPMENT STORY
Making a short GIF should feel like editing a moment, not a file format
The first idea sounded straightforward: select a video, trim a few seconds, save a GIF. The harder engineering questions were how users could find the exact moment on a long timeline and how the preview could correspond to the output.
GIF STUDIO keeps original media in the browser. Its UI brings together scene selection, crop ratios, playback speed, output resolution, frame-rate control and direct download.

01 / ARCHITECTURE
Converting frames locally
The browser reads the selected video, seeks to chosen timestamps and draws decoded frames onto Canvas. Pixel data is transferred to a Web Worker, where the GIF encoder assembles the animated image. The resulting file can then be downloaded via a browser-generated URL. No original video is uploaded to the site's server.
02 / TIMELINE UX
Keeping selection and playback independent
The blue selection determines the clip boundaries, while the playhead controls the current preview frame. Separate interactions help prevent an accidental seek from changing the selected segment. Fine adjustments and recovery controls support long videos and narrow screens.

03 / EDITOR CONTROLS
Five focused tools
Scene Trim, Crop Ratio, Playback Speed, Resolution and Motion FPS each use a dedicated panel. Crop presets include Original, 1:1, 4:5, 9:16 and 16:9; playback speed spans 0.5× to 10×; FPS options are 10, 15, 20, 25 and 30.



04 / PERFORMANCE
Frame limits are different from FPS
The current video pipeline limits each GIF to 20 seconds and 240 total frames. At 30 FPS, 240 frames correspond to approximately 8 seconds. Requested resolutions reach 2160 pixels in width, but the actual output size can be reduced under pixel and memory-protection limits. The GIF encoder uses a 256-color palette and dithering, so its output is not identical to a source video.
05 / RESPONSIVE DESIGN
One workflow, two interfaces
Desktop offers a separate output preview. On phones, editing and GIF results share the main video display to avoid shrinking the workspace. The mobile layout is adjusted to keep the timeline, controls and completion button usable within limited vertical space.

