Convert BMP to PNG
Turn BMP images into PNG. Same pixels without loss, with the color profile kept.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop BMP files on the dialor turn it to pick what to do
Bitmap pixels in a PNG file.Every pixel stays as it is, and the color profile comes along.
What you get
A PNG with the same pixels as the BMP, without loss. The color profile is kept, so colors are read the way the bitmap meant them.
A 32-bit bitmap keeps its transparency. The result is one file.
Options
Set Max width or Max height to shrink a large image. The shape is kept, and an image already smaller than the value stays as it is, so nothing is enlarged. Both accept 1 to 20000.
Turn on Grayscale to turn colors into shades of gray, which often makes the file smaller. Set Rotate to turn the result clockwise by 90, 180 or 270.
Turn on Strip metadata to remove EXIF and other metadata, and the color profile as well. The file gets a little smaller and says less about where it came from.
When it stops
A file that cannot be parsed stops the conversion with
input_corrupted. The BMP is damaged or is not a readable bitmap.To go the other way, use PNG to BMP.
BMP and PNG.What each format is, and the options this conversion takes.
- 01 · grayscale
Grayscale
Turns colors into shades of gray, which often makes the file smaller.
- 02 · max_height
Max height (px)
Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.
1 to 20000 - 03 · max_width
Max width (px)
Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.
1 to 20000 - 04 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270 - 05 · strip
Strip metadata
Removes EXIF and other metadata, such as the camera, the time and the GPS position a photo was taken at, and the color profile. The file gets a little smaller and says less about where it came from.
The formats
Bitmap
Windows bitmap. Uncompressed pixels, large files, read by everything.
- Extensions
- .bmp .dib
- MIME type
- image
/bmp - Kind
- Images
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
In your code.The same BMP to PNG conversion through the API, for your app or your agent.
$ cv convert photo.bmp photo.png$ cv convert photo.bmp photo.pngQuestions.What people ask about BMP to PNG.
Yes, for a 32-bit bitmap. Its transparency carries over to the PNG.
No. The pixels are the same, without loss. Options you turn on, such as Grayscale or a size limit, change the result.
Yes, unless you turn on Strip metadata, which removes the color profile along with the other metadata.
Yes. Set Max width or Max height, and anything larger is shrunk with its shape kept. Smaller images are not enlarged.