ADD A REAL PIXEL SHADOW

Add a Drop Shadow Around a Product Cutout

Create separation around a cutout, icon or product photo. Adjust the shadow and leave space around its edges.

Browser-local processingPNG · JPG · WebPVerified export
MAGODUCK duck illustration on a card with a drop shadow
Processed in your browser · No file upload

Browser image decoding and the Canvas 2D API handle supported pixels locally.

The tool loads its interface and processing files from the site. This workflow handles the contents you select or enter in the browser.

File picker filter: image/jpeg, image/png, image/webp, .jpg, .jpeg, .png, .webp. The selected file must also pass this tool’s content and decoder checks.

Input per file
25 MiB
Source pixels
24 MP
Output pixels
32 MP
Image edge
12,000 px

Limits are safeguards, not a guarantee every file below them will process. Complex files and device memory can require a smaller input.

Read the privacy policy

See how MAGODUCK tests tool outputs

1

Add an image

Actual image signatures are checked. Renaming a non-image file to .jpg or .png does not make it valid.

Drop a JPG, PNG or WebP image here

or choose one from your device

1 image · 25 MB max · 24 MP source · 32 MP output · 12,000 px max edge
File—
Detected format—
Dimensions—
Source size—

Original & exported result

After generation, the result preview loads from the exact Blob used by the download button.

Your source preview will appear here.
OriginalDecoded source image
Generate a shadow to create the exported preview.
With shadowGenerate a result to preview the exact exported pixels.
HOW IT WORKS

Add a shadow to an image in three steps

1. Choose an image

Select a still JPG, PNG or WebP file. MAGODUCK checks the file bytes before decoding it.

2. Set the shadow

Adjust X/Y offset, blur, opacity, color and padding. Choose a transparent or solid output background.

3. Generate and download

The tool encodes a new image, checks its signature and dimensions, then enables the download.

TECHNICAL BEHAVIOR

What the shadow generator actually changes

Canvas-rendered pixels

The shadow is not a CSS-only preview. The browser draws the decoded source into a Canvas 2D bitmap with shadow color, opacity, blur and offset, then encodes the canvas into a new PNG, JPG or WebP file.

Bounds and blur

Canvas shadowBlur is not defined as an exact pixel radius. To reduce clipping risk, MAGODUCK allocates conservative extra bleed around the shadow in addition to user padding.

Transparency

PNG and WebP can keep a transparent background. JPEG has no alpha channel, so JPEG output is flattened onto a solid background before encoding.

Limits

This build limits source size, decoded megapixels, output megapixels and edge length because decoded canvases can use far more memory than the compressed input file.

DIRECT ANSWERS

Image Shadow Generator FAQs

Does the downloaded image really contain the shadow?

Yes. The shadow is rendered into the Canvas bitmap before the new image file is encoded; the download is not the untouched source with a CSS effect.

Can I keep a transparent background?

Yes with PNG or supported WebP output. JPEG cannot store transparency, so JPG output uses a solid background.

Why can the output be larger than the original?

The canvas expands to make room for the shadow, blur bleed and selected padding. Lossless PNG can also be larger than a photographic JPEG source.

Is the blur radius exact in pixels?

No. Browser Canvas defines shadowBlur as a blur level rather than a direct pixel-radius guarantee, so the tool uses conservative bounds rather than pretending the blur extent is exact.

Are images uploaded to MAGODUCK for processing?

This implementation contains no image-shadow upload endpoint. Selected image bytes are decoded and rendered by browser APIs in the current tab. Normal website assets can still load from the WordPress host.

Technical references checked October 2, 2026. Canvas 2D shadow properties and Canvas image encoding are documented by MDN. Canvas shadowBlur · Canvas toBlob().

Create the exported shadow pixels

Adjust the shadow, generate the new bitmap and verify the exact output before downloading.

Add a shadow

Image shadow privacy

This implementation processes selected image bytes in the current browser tab and contains no server-side image-shadow endpoint or third-party image processing service.

Normal WordPress assets still load from the website. Browser extensions, compromised devices, analytics added later, or future integrations are outside this narrow processing claim.