- Convert image/video files into desired formats within File Explorer.
- Convert svg text or url from clipboard to React Component
ffmpeg
is required for video processing.
https://www.ffmpeg.org/download.html
- Releases only contain pre-build with Mac x64, Mac ARM, Windows x64, linux x64 builds.
- File types are not checked before processing.
- ffmpeg are directly execute command on the system with node's
exec
.
The extension can be build directly with Node.js by following commands.
npm
version 10+
node
version 20+
npm install
npm run build-release
npm run package-vsix
It should generate and bundle a file called vscode-media-converter-x.x.x.vsix
at root which can be directly installed by VS code.
The generated extension will match the current system's cpu(x64 or arm), and os automatically at the npm install
step.
For supported platforms and architectures, see sharp installation#prebuilt-binary.
Add cross-platform support by providing separated package.
Add Paste as SVG Component command
Using presets configs for processing.
basic implementation