Extract Bitmap Fragment Online
Extract Bitmap Fragment online. All processing happens in your browser.
Drop image here or click to upload
Max 50MB • 100% Private
Pull out any rectangular chunk of a bitmap without opening a heavy editor. Drop in the image, pick the region by coordinates or drag on the preview, and grab the fragment as a clean PNG — pixel-perfect, no re-compression.
And everything runs in your browser. Nothing gets uploaded.
How It Works
The browser reads your image into an HTML Canvas element. When you define a crop region, the tool copies just those pixels to a new canvas at the exact dimensions you specified. Hit download and you get a clean PNG of the fragment — pixel-perfect, no interpolation artifacts.
Examples
Pulling a Logo from a Website Screenshot
A client sent a full-page screenshot and you need just the header logo for a presentation slide.
Full screenshot: 1920x1080px
Region: x=45, y=12, w=280, h=64
Cropped PNG: 280x64px
Clean logo, transparent-ready
Extracting a Texture Tile from a Larger Pattern
You downloaded a seamless texture sheet but only need one 256x256 tile for a CSS background. No need to open the whole thing in an editor.
Texture sheet: 1024x1024px
Region: x=512, y=0, w=256, h=256
Single tile: 256x256px PNG
Ready for background-image
Isolating a Product Photo from a Catalog Scan
Scanned a printed catalog at 300 DPI. Each page has six products in a grid, and you need just one for an eBay listing.
Catalog scan: 2480x3508px (A4 @ 300DPI)
Region: x=1240, y=1170, w=1200, h=1100
Product photo: 1200x1100px
High-res, ready for listing
Who Uses This
Cutting sprite regions or icon fragments from larger asset sheets without firing up Figma.
Grabbing a specific section of a mockup to send as a quick preview to a client.
Snipping diagrams or charts from textbook scans for reports and slides.
Cropping individual product photos from batch photography sheets for marketplace listings.
Common Mistakes
If your x + width exceeds the image width, you'll get a fragment with empty pixels on one side. Double-check that your crop region fits inside the actual dimensions shown in the status bar.
The fields ask for width and height of the region, not the bottom-right corner position. If your image is 800px wide and you want pixels 200 through 600, the width value is 400 — not 600.
The tool outputs PNG, which is lossless. But if your source was a heavily compressed JPEG, those compression artifacts are already baked into the pixels. The fragment won't look any sharper than the original.
Technical Details
- Processing: 100% client-side via HTML5 Canvas API
- Browser Support: Chrome, Firefox, Safari, Edge
- Input Formats: PNG, JPG, GIF, WebP, BMP, TIFF
- Output Format: PNG (lossless)
- Max Size: Limited by browser memory — typically handles images up to ~50MP
Frequently Asked Questions
How do I extract a specific part of an image?
Upload your image, then enter the X and Y coordinates where the region starts, plus the width and height you want. Click Process and the tool pulls out exactly that rectangle. You can also click and drag directly on the preview if visual selection is easier.
Does extracting a fragment reduce image quality?
No. The extraction copies raw pixel data from the original — there's no re-compression or resampling. The output PNG is a perfect pixel-for-pixel match of that region in your source image.
Can I extract from a BMP file specifically?
Yes. BMP files load just fine. The browser decodes the bitmap into raw pixels on the canvas, so the extraction works the same regardless of whether your source is BMP, PNG, JPEG, or WebP.
Is my image uploaded to a server?
Not at all. The entire process runs in your browser using JavaScript and the Canvas API. Your image stays on your device. Nothing gets sent over the network — you can even disconnect your internet and the tool still works.
What's the difference between cropping and extracting a fragment?
They're close. Cropping usually means trimming edges off the whole image. Extracting a fragment means pulling out any arbitrary rectangle — it doesn't have to touch the edges. Think of it as a copy-paste for a specific pixel region rather than just resizing the canvas.