Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Image ShadowerNew to Visual Studio Code? Get it now.
Image Shadower

Image Shadower

mizupe

|
17 installs
| (0) | Free
Add beautiful shadow effects to images in VS Code/Cursor
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Image Shadower

An extension for Visual Studio Code that easily adds beautiful shadow effects to images. Transform your images into a polished look for blog posts and documentation.

Make your images stand out with material design style shadows!

Features

  • ✨ Material Design Shadow Effects: Creates natural, dimensional shadows with a two-layer structure (Ambient & Key Shadow)
  • 📐 Rounded Corners: Round the corners of your images for a modern look
  • 🖌️ Customizable Borders: Freely set the color, width, and opacity of borders
  • 🔄 Transparent Background Support: Works with transparent PNG images
  • 🎛️ Detailed Settings: Fine-tune shadow density, blur, offset, and more
  • 🚀 Easy Operation: Intuitive usage via command palette or context menu (right-click)

Installation

From VS Code / Cursor Extension Marketplace

  1. Open the VS Code Extension Marketplace (Ctrl+Shift+X or Cmd+Shift+X)
  2. Search for "Image Shadower"
  3. Click "Install"

From .vsix File

  1. Download the latest .vsix file from the Releases page
  2. Open VS Code and display the Extensions view (Ctrl+Shift+X or Cmd+Shift+X)
  3. Select "Install from VSIX..." from the ... menu
  4. Select the downloaded .vsix file

Usage

Method 1: Context Menu from Explorer

  1. Right-click on an image file (PNG, JPG) in the VS Code Explorer
  2. Select "Add Shadow (Single Image)" from the context menu
  3. When processing is complete, a new file with [original_filename]_shadow.[extension] will be created in the same folder

Method 2: From Command Palette

  1. Open the VS Code Command Palette (Ctrl+Shift+P / Cmd+Shift+P or F1)
  2. Type "Add Shadow"
  3. Select "Add Shadow (Single Image)" for single image processing
  4. A file selection dialog will appear; select the image you want to process

Method 3: Batch Processing Multiple Images

  1. Open the VS Code Command Palette
  2. Select "Add Shadow (Multiple Images)"
  3. A folder selection dialog will appear; select the folder containing images you want to process
  4. All PNG/JPG images in the selected folder will be processed

Customizing Settings

  1. Open VS Code settings (Ctrl+, or Cmd+,)
  2. Search for "Image Shadower"
  3. You can customize the following settings:

Ambient Shadow

Setting Description Default Value
imageShadower.shadow.ambientShadow.opacity Opacity of ambient shadow (0-1) 0.08
imageShadower.shadow.ambientShadow.blurRadius Blur radius of ambient shadow (px) 30
imageShadower.shadow.ambientShadow.offsetX Horizontal offset of ambient shadow (px) 0
imageShadower.shadow.ambientShadow.offsetY Vertical offset of ambient shadow (px) 0

Key Shadow

Setting Description Default Value
imageShadower.shadow.keyShadow.opacity Opacity of key shadow (0-1) 0.28
imageShadower.shadow.keyShadow.blurRadius Blur radius of key shadow (px) 12
imageShadower.shadow.keyShadow.offsetX Horizontal offset of key shadow (px) 8
imageShadower.shadow.keyShadow.offsetY Vertical offset of key shadow (px) 8

Border and Rounded Corners

Setting Description Default Value
imageShadower.borderRadius Radius of rounded corners (px, 0 to disable) 5
imageShadower.stroke.width Width of border (px) 1
imageShadower.stroke.color Border color (hexadecimal color code) #CCCCCC
imageShadower.stroke.opacity Border opacity (0-1) 0.8

Other

Setting Description Default Value
imageShadower.margin.size Margin added to transparent PNG images (px) 20

Troubleshooting

Q: What if image processing fails?
A: Processing may fail with very large images or special formats. Try using common PNG/JPG formats with appropriate sizes.

Q: What if transparent background processing results differ from expectations?
A: Images with complex transparency patterns may not be fully supported. Try adjusting the margin width in settings.

Q: What if shadow effects are extremely dark/light?
A: Try adjusting the opacity of both ambient and key shadows in settings. Slightly denser settings work well for bright images, and lighter settings for dark images.

Development

Prerequisites

  • Node.js (v14 or higher)
  • npm or yarn
  • VS Code

Build Process

# Install dependencies
npm install

# Development build
npm run compile

# Create production package
npm run package

Feedback & Contributions

Please report bugs or feature requests on GitHub Issues.

Pull requests are also welcome!

License

MIT © fumipen

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