@gehdoc/svg-to-video 0.35.1 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -16,7 +16,7 @@
16
16
  A high-fidelity tool to transform your CSS- and SMIL-animated SVGs into high-quality videos (MP4, WebM, MKV, MOV) or lightweight animated formats (aPNG, GIF) with perfect alpha-channel transparency directly in your browser or via CLI/MCP server.
17
17
 
18
18
  <div align="center">
19
- <a href="https://gehdoc.github.io/svg-to-video/"><img src="https://gehdoc.github.io/svg-to-video/assets/demo.gif" width="800" alt="SVG to Video Demo"></a>
19
+ <a href="https://gehdoc.github.io/svg-to-video/?utm_source=readme"><img src="https://gehdoc.github.io/svg-to-video/assets/demo.gif" width="800" alt="SVG to Video Demo"></a>
20
20
  <p><i>Automated demo generated by our CI/CD pipeline</i></p>
21
21
  </div>
22
22
 
@@ -28,7 +28,7 @@ A high-fidelity tool to transform your CSS- and SMIL-animated SVGs into high-qua
28
28
  - **Privacy-First**: The Web Studio runs entirely in your browser—your SVG files never leave your computer.
29
29
  - **Frame-Accurate**: Our engine scrubs both the **Web Animations API** and native **SVG SMIL**, ensuring every frame is captured exactly as rendered.
30
30
  - **AI Agent Native**: Native **Model Context Protocol (MCP)** server and **Agent Skill (`SKILL.md`)** support indexed on the official [MCP Registry](https://registry.modelcontextprotocol.io/) (`mcp.json`) and hosted live on [HuggingFace Spaces](https://huggingface.co/spaces/GehDoc/svg-to-video-mcp).
31
- - **Universal Animated Formats**: Beyond video, generate lightweight **Animated PNGs (aPNG)** and **GIFs** perfect for documentation, Slack, or GitHub, with full control over background transparency.
31
+ - **Universal Animated Formats**: Beyond video, generate lightweight **Animated PNGs (aPNG)** and **GIFs** with deterministic 8x8 Bayer ordered dithering to eliminate temporal fluttering on animated gradients, with full control over background transparency.
32
32
  - **Copy to Clipboard**: Instant export to **Base64 Data URL**—copy your video and embed it directly into your HTML, CSS, or JS code without manual downloads. Perfect for rapid prototyping and developers.
33
33
  - **Metadata Injection**: Support for custom titles and comments across video (MP4, WebM, MKV, MOV) and animated image (aPNG, GIF) formats.
34
34
  - **Versatile**: Whether you need an accessible [Web Studio](#-web-studio) for quick conversions or a powerful [CLI tool](#-cli--docker-tool) for batch automation and CI/CD pipelines, this project has you covered.
@@ -39,7 +39,7 @@ A high-fidelity tool to transform your CSS- and SMIL-animated SVGs into high-qua
39
39
 
40
40
  Choose the entry point that matches your needs:
41
41
 
42
- - **[Web Studio](https://gehdoc.github.io/svg-to-video/)**: The easiest way to convert SVGs to video, **high-fidelity aPNG, or optimized GIF** in your browser without any installation.
42
+ - **[Web Studio](https://gehdoc.github.io/svg-to-video/?utm_source=readme)**: The easiest way to convert SVGs to video, **high-fidelity aPNG, or optimized GIF** in your browser without any installation.
43
43
  - **[CLI / Docker Tool](#-cli--docker-tool)**: For batch processing, server-side automation, and CI/CD integration.
44
44
  - **[AI Agent & MCP Server](#-ai-agent--mcp-integration)**: For Claude Desktop, Cursor, Antigravity, and autonomous LLM workflows.
45
45
 
@@ -47,9 +47,9 @@ Choose the entry point that matches your needs:
47
47
 
48
48
  ## 🌐 Web Studio
49
49
 
50
- **[🚀 Try the Web Studio](https://gehdoc.github.io/svg-to-video/)**
50
+ **[🚀 Try the Web Studio](https://gehdoc.github.io/svg-to-video/?utm_source=readme)**
51
51
 
52
- Our **Web Studio** is a serverless, client-side rendering tool. It runs entirely in your browser using **WebCodecs**—your SVG files never leave your computer, ensuring absolute privacy. The interface is optimized for high-productivity on screens starting from **720p resolution**.
52
+ Our **Web Studio** is a serverless, client-side rendering tool. It runs entirely in your browser using **WebCodecs** and custom browser encoders—featuring 16-bit `rgb565` quantization and 8x8 Bayer dithering for flicker-free GIFs—ensuring your SVG files never leave your computer for absolute privacy. The interface is optimized for high-productivity on screens starting from **720p resolution**.
53
53
 
54
54
  > **Automated Demo**: The demo video at the top of this README is automatically generated and updated by our CI/CD pipeline using Playwright and Driver.js, ensuring it always reflects the latest UI changes.
55
55
 
@@ -59,7 +59,7 @@ Explore our **[Visual Gallery (Storybook)](https://gehdoc.github.io/svg-to-video
59
59
 
60
60
  ### Quick Start
61
61
 
62
- 1. Open the [Web Studio](https://gehdoc.github.io/svg-to-video/).
62
+ 1. Open the [Web Studio](https://gehdoc.github.io/svg-to-video/?utm_source=readme).
63
63
  2. Drag and drop your `.svg` file, or test the engine instantly with 1-click built-in samples.
64
64
  3. Adjust resolution, duration, and FPS.
65
65
  4. Select your format, toggle **Transparent Background** if needed, and ensure **High-Fidelity Capture** is enabled for best results.
@@ -122,7 +122,7 @@ See **[docs/MCP.md](./docs/MCP.md)** for full setup instructions, tool schemas,
122
122
 
123
123
  - 📦 **npm Package**: [`@gehdoc/svg-to-video`](https://www.npmjs.com/package/@gehdoc/svg-to-video)
124
124
  - 🐳 **Docker Hub Image**: [`gehdoc/svg-to-video`](https://hub.docker.com/r/gehdoc/svg-to-video)
125
- - 🌐 **Web Studio**: [`gehdoc.github.io/svg-to-video/`](https://gehdoc.github.io/svg-to-video/)
125
+ - 🌐 **Web Studio**: [`gehdoc.github.io/svg-to-video/`](https://gehdoc.github.io/svg-to-video/?utm_source=readme)
126
126
  - 🤖 **MCP Registry**: [`io.github.GehDoc/svg-to-video`](https://registry.modelcontextprotocol.io/v0/servers/io.github.GehDoc%2Fsvg-to-video/versions/latest)
127
127
  - 🤗 **HuggingFace Space**: [`GehDoc/svg-to-video-mcp`](https://huggingface.co/spaces/GehDoc/svg-to-video-mcp)
128
128
 
@@ -38,10 +38,10 @@ export class GifFormatGenerator extends BaseCLIFormatGenerator {
38
38
  const reserveTrans = transparent ? 1 : 0;
39
39
  let filterComplex;
40
40
  if (filters.length > 0) {
41
- filterComplex = `${filters.join(',')},split[a][b];[a]palettegen=reserve_transparent=${reserveTrans}[p];[b][p]paletteuse`;
41
+ filterComplex = `${filters.join(',')},split[a][b];[a]palettegen=reserve_transparent=${reserveTrans}[p];[b][p]paletteuse=dither=bayer:bayer_scale=3`;
42
42
  }
43
43
  else {
44
- filterComplex = `split[a][b];[a]palettegen=reserve_transparent=${reserveTrans}[p];[b][p]paletteuse`;
44
+ filterComplex = `split[a][b];[a]palettegen=reserve_transparent=${reserveTrans}[p];[b][p]paletteuse=dither=bayer:bayer_scale=3`;
45
45
  }
46
46
  args.push('-filter_complex', filterComplex);
47
47
  args.push('-loop', '0');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gehdoc/svg-to-video",
3
3
  "mcpName": "io.github.GehDoc/svg-to-video",
4
- "version": "0.35.1",
4
+ "version": "0.37.0",
5
5
  "type": "module",
6
6
  "description": "Professional animated SVG (CSS & SMIL) to Video (MP4/WebM/MKV/MOV) and Animated Image (aPNG/GIF) converter featuring frame-accurate rendering, CLI automation, Model Context Protocol (MCP) server integration, and a serverless Web Studio.",
7
7
  "imports": {