Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Responsive imagesNew to Visual Studio Code? Get it now.
Responsive images

Responsive images

Bálint Szekeres

|
1,793 installs
| (3) | Free
@2x -> @1x, WebP (@2x, @1x), LQIP
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Responsive images

Requirements - macOS

brew install imagemagick jpegoptim pngquant webp

Requirements - Linux

sudo apt install imagemagick jpegoptim pngquant webp

Usage

  1. Right click on the 2x image (*@2x.jpg, *@2x.png, *@2x.webp)
  2. Select Responsive images from @2x
  3. Set optimization quality (used by jpegoptim and cwebp, default: 90)
  4. The following files will be generated (overwritten if exists) and optimized:
    • jpg file selected (sample@2x.jpg)
      • sample@2x.jpg
      • sample.jpg
      • sample@2x.webp
      • sample.webp
      • sample@lqip.jpg
    • png file selected (sample@2x.png)
      • sample@2x.png
      • sample.png
      • sample@2x.webp
      • sample.webp
      • sample@lqip.jpg
    • webp file selected (sample@2x.webp)
      • sample@2x.jpg
      • sample.jpg
      • sample@2x.webp
      • sample.webp
      • sample@lqip.jpg

Screenshots

Right click menu

menu

Set quality

quality

Results

results

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