Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Explorer Image ConverterNew to Visual Studio Code? Get it now.
Explorer Image Converter

Explorer Image Converter

Werner Robitza

|
1 install
| (0) | Free
Convert and resize images (JPEG, PNG, AVIF, WebP) straight from the Explorer — like a Finder folder action, but in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Image Converter

A completely vibe-coded VS Code extension that converts and resizes images straight from the Explorer — much like a Finder folder action, but available anywhere you have a folder open in VS Code.

Right-click one or more image files in the Explorer and pick a target format, resize option, and quality. Conversion runs locally via the bundled sharp library, so no external tools (ImageMagick, ffmpeg, sips) need to be installed.

Features

  • Convert to AVIF, JPEG, PNG, or WebP, or keep the original format and only resize.
  • Resize by a scale factor, a maximum width, a maximum height, or by fitting the longest side into a pixel limit. Aspect ratio is always preserved.
  • Per-format quality / compression controls.
  • Works on a multi-file selection in one go.
  • Non-destructive by default: a new file is written next to the original. You can switch to replacing the original or writing into a converted/ subfolder.
  • A second command, "Convert with Defaults", skips all prompts and uses your saved settings — handy when you always convert the same way.

Usage

Select one or more image files in the Explorer, right-click, and choose:

  • "Convert Image(s)…" — walks you through format, resize, and quality.
  • "Convert Image(s) with Defaults" — converts immediately using your settings.

A progress notification shows each file as it is processed, and a summary reports the size change when done.

Settings

All settings live under "Image Converter" in VS Code settings (prefix imageConverter.):

  • defaultFormat — preselected output format, also used by "Convert with Defaults".
  • defaultResizeMode — none, scale, maxWidth, maxHeight, or longestSide.
  • scaleFactor — default factor for scale mode (e.g. 0.5).
  • maxDimension — default pixel limit for the max width / height / longest-side modes.
  • jpegQuality, avifQuality, webpQuality — quality 1–100 per lossy format.
  • pngCompressionLevel — 0–9 (PNG is always lossless).
  • effort — encoder CPU effort 0–9 for AVIF/WebP (higher = slower, smaller).
  • noUpscale — never enlarge images smaller than a max-dimension limit.
  • outputBehavior — alongside, replace, or subfolder.
  • overwriteExisting — overwrite an existing target instead of adding a -1, -2… suffix. The source file is never overwritten.

Contributing

Build, run, and packaging instructions live in CONTRIBUTING.md.

Acknowledgements

Fully generated by Claude Code with Claude Opus 4.8 (1M Context).

License

Copyright (c) Werner Robitza.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft