Magic resize understands subject edges and margin rules. It keeps margin 0 where the product touches, and intelligently crops or generates pixels to fit any canvas—without hiding your product.
Understands silhouettes, limb/strap extremities, and detects edge contact per side to prevent accidental “shaving.”
Keeps 0 where subjects touch the frame; adds margins elsewhere to satisfy brand/marketplace rules.
Safely crops when background headroom exists; otherwise generates coherent extensions or stretch for uniform backdrops.
Set Width/Height, per-side margins, Alignment X/Y, and unit (px or %). Anchors guide where extra canvas appears.
Variance is clamped for batch stability across 10 → 10,000 images—ready for PDP, marketplace, and ads.
Drive it from the UI or plug into workflows via API for automated pipelines and scheduled runs.
Three steps from raw assets to standardized outputs. The UI mirrors the engine’s decision logic, so what you set is exactly what ships.
Choose Width × Height, margins per side, Alignment X/Y, and the unit (px or %). Edge-touch sides auto-lock to 0.
Select format (PNG, JPG, WEBP, AVIF), DPI, and filesize profile. Add multiple outputs per image if needed.
Drag a folder or images and run at scale. The engine selects crop vs. generate per image and standardizes the set.
Observe arrow markers showing where margins are added vs. locked to zero. The subject remains prominent, centered by your alignment rules.
Every control has a predictable, side-aware effect in the engine.
UI Control | Engine Behavior | Notes |
---|---|---|
Width / Height | Sets target canvas & aspect policy | Determines crop/generate need |
Margins (Top/Right/Bottom/Left) | Minimum clear-space per side | Edge-touch overrides to 0 |
Alignment X / Y | Subject anchoring for expansion | e.g., Center/Bottom for footwear |
Unit (px / %) | Margin scaling math | % is relative to final canvas |
Policy: crop / generate | Decision & fallbacks | “Safe crop” avoids subject loss |
Stretch preference | Monochrome/flat backdrop stretch | Great for studio catalog shots |
Start with these common e-commerce targets. You can tweak margins and alignment per category.
2000×2000 • 5% all sides • Center/Center
1500×2000 • 60px bottom • Center/Bottom
2400×1200 • 4% LR / 2% TB • Center
1080×1920 • 3% top / 5% bottom • Center/Bottom
No. The subject scale is preserved. Only background area is cropped or generated based on your rules.
Stick to one unit per run for predictability. Use separate runs if you need mixed behavior.
Yes. “Stretch preference” is ideal for monochrome or uniform studio backdrops.
Transparent pixels are considered background. Edge-touch detection still applies, so margins can lock to 0 on those sides.
Yes. The engine is silhouette-aware and avoids trimming fine extremities. If cropping is unsafe, it switches to generate.
Ship catalog-perfect images faster. UI or API—your choice.