Image Cropper - Online Crop Photo Circle & Rectangle
Crop images into rectangular or circular shapes with interactive handles. Output as PNG or JPEG. A simple, browser-based tool with no uploads required.
UD5 Toolkit
CSS Shapes allow web designers to create sophisticated, non-rectangular layouts.
The shape-outside property defines a shape around which adjacent inline content wraps.
When combined with shape-margin, you can control the spacing between the shape and the
flowing text. For image-based shapes, shape-image-threshold determines which pixels
contribute to the shape based on their alpha channel transparency. A lower threshold includes more
semi-transparent pixels, resulting in a larger exclusion zone. A higher threshold only counts nearly
opaque pixels, creating a tighter wrap. This technique is especially useful for magazine-style layouts,
pull quotes, drop caps, and any design where text needs to flow around irregular visual elements.
Experiment with the sliders to see how these properties interact in real time. Notice how the text
responds dynamically to changes in margin distance and alpha threshold values. Modern browsers including
Chrome, Firefox, Safari, and Edge all provide excellent support for CSS Shapes, making them production-ready
for creative web typography and layout design.
shape-margin?shape-margin defines the outer margin of a CSS shape, creating extra space between the shape boundary and the surrounding inline content. It accepts length values (px, em, rem, %) and works with all shape-outside types including circle(), ellipse(), polygon(), inset(), and image-based shapes.
shape-image-threshold do?This property sets the alpha channel threshold used when extracting a shape from an image. Pixels with alpha above the threshold become part of the shape (text is excluded); pixels below are treated as transparent (text can flow in). Values range from 0 (only fully transparent pixels excluded) to 1 (only fully opaque pixels included).
shape-image-threshold with CSS gradients?Yes! Modern browsers support using CSS gradients (linear-gradient, radial-gradient, conic-gradient) as shape-outside values. The shape-image-threshold works with these gradients since they generate alpha channel data, just like raster images.
shape-margin affect the element's box model?No. shape-margin only affects the shape used for text wrapping. It does not impact the element's CSS box model, border, padding, or regular margin. Think of it as an invisible buffer zone around the shape that pushes text further away.
shape-outside and clip-path?shape-outside controls how inline content flows around an element without affecting its visual rendering. clip-path visually clips the element's content. They can be combined: use shape-outside for text wrapping and clip-path to visually trim the element to match.
CSS Shapes (Level 1) are supported in all modern browsers: Chrome 37+, Firefox 62+, Safari 8+, Edge 79+. The shape-image-threshold property has identical support. For production use, always test across target browsers, especially when using image-based shapes.
Crop images into rectangular or circular shapes with interactive handles. Output as PNG or JPEG. A simple, browser-based tool with no uploads required.
Paste a raster image and an SVG, see the file size and rendering time. Understand when to use vector. Local.
Pixelate or censor parts of an image by dragging. Adjust block size for mosaic effect. Useful for hiding faces or sensitive data. Client-side processing.
Upload an image and see a slider comparison of different JPEG quality levels. Find the optimal file size vs. quality trade‑off.
Run edge detection algorithms (Sobel, basic Canny) on images directly in the browser. Great for learning computer vision concepts.
Paste media queries and see a visual indicator of which rules apply at current viewport size.
Toggle image‑rendering: auto, pixelated, crisp‑edges on a scaled image. Essential for pixel art display.
Create a responsive box that maintains a specific aspect ratio using the aspect‑ratio property. Copy the simple CSS.
Predict the file size of an image based on pixel dimensions and format (JPEG, PNG, WebP). Rough estimate. Local.
Browse the OKLCH color space with sliders for lightness, chroma, and hue. See the CSS oklch() code. Modern and accessible.
Convert images between popular formats like PNG, JPEG, WEBP, and BMP. No quality loss on conversion when using lossless formats. Private and fast.
Automatically crop transparent or solid‑color borders from any image. Just drop the photo and get the tight crop.
Compare original and compressed image side‑by‑side with a slider. Choose format and quality level. Local processing.
Enter image pixel dimensions and compute maximum print size at various DPI. With aspect ratio presets (4x6, 5x7, 8x10) and cropping preview. Local tool.
Upload one image and see it encoded in AVIF, WebP, and JPEG XL side‑by‑side. Compare quality and file size in your browser.
Compare your image as JPEG, PNG, and WebP side by side at different quality levels. See the size savings visually.
Upload a small pixel art image and get a CSS grid layout that recreates it using divs. Novelty developer tool.
Combine aspect‑ratio with min‑/max‑width/height and see how the box responds. Understand sizing constraints. Copy the pattern.
Convert images to WebP format with configurable quality. See file size savings. Batch process multiple files. All local.
Increase or decrease the color saturation of your photo with a slider. Preview instantly. Download the edited image. Canvas‑based.
Upload two images and see a diff overlay highlighting the pixel differences. Adjust tolerance. For regression testing.
Quickly adjust the brightness and contrast of an image with live preview sliders. Download the tuned photo. Canvas.
Detect your current screen resolution, viewport dimensions, and device pixel ratio. Useful for responsive design testing. No data collection.
Arrange and layer images on a canvas to create a digital vision board. Export as image. Images stay in your browser.
Resize an image to exact dimensions and add colored padding to fill the aspect ratio without cropping. Useful for profile grids.
Generate placeholder images with custom dimensions, background color, and text. Supports SVG and raster output. Perfect for wireframing and mockups.
Paste text and generate a word cloud as a downloadable PNG image. Customize colors and shapes. All local.
Apply a convolution filter (blur, sharpen) using a Web Worker. See the UI stay responsive while processing. Learn multithreading in the browser.
Interactively create colors in HWB space and get the CSS hwb() function. Simplifies tint/shade workflows. Live preview.
Write a media query and instantly see if it matches your current viewport. Width, height, orientation, and more.