DIB
DIB raster imageUsed for raster pictures made of individually stored pixels.
- Family
- Images
- MIME
- image/bmp
Convert DIB to PNG online. See the real pixel decoding and image re-encoding behavior, preservation limits, and a format-specific acceptance test.
A windows device-independent bitmap representation with explicit pixel and color-table layout is decoded into a working pixel canvas first, then written back out under PNG's own color and compression model. Dimensions can stay exactly the same even as encoding, metadata, and fine detail change underneath. A DIB reader calculates bitmap stride and orientation from Windows headers, then expands palette or masked pixels at the declared bit depth. PNG output preserves the exact raster samples with optional full alpha and color metadata, though file size, palette reduction, the lack of animation, and profile handling all still vary by writer.
Decoded canvas - A Windows device-independent bitmap representation with explicit pixel and color-table layout. Written image - Pixels written losslessly with a full alpha channel available.
Used for raster pictures made of individually stored pixels.
Designed for lossless images and transparency.
PNG wins this route whenever its specific mix of compatibility, alpha, animation, and file size fits the destination better than DIB does.
Bottom-up row order, palette entries, bit depth, and optional alpha are interpreted inconsistently by some image tools.
PNG is a poor fit for photographic detail, and even without any JPEG-style loss, palette reduction can visibly simplify a smooth gradient.
The writer builds pixels written losslessly with a full alpha channel available and labels the result as image/png. The receiving application - Not the extension alone - Is the final compatibility test.
Confirm orientation, palette colors, dimensions, bit depth, and transparent pixels in the receiving Windows workflow.
Zoom to 100% on transparent edges, gradients, and small text, and confirm the exact pixel dimensions.