Convert BMP to JPG
Turn BMP images into JPEG. Same size, at quality 90 unless asked otherwise.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop BMP files on the dialor turn it to pick what to do
A BMP as a JPG at the same size.Quality 90 by default. Transparent areas become white.
What you get
One JPG with the same width and height as the BMP. It is saved at quality 90 unless you set Quality to another value from 1 to 100.
JPG uses lossy compression, so the picture is not an exact copy of the BMP pixels. Above 90 the file grows quickly while the picture barely changes.
What changes
JPG cannot be transparent. Transparency in a 32-bit bitmap becomes white. Set Background to another color, written as #RRGGBB, to fill those areas with that color instead.
Options
Set Max width or Set Max height to shrink a large picture. The shape is kept, and a picture that is already smaller 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 degrees.
Turn on Strip metadata to remove EXIF data, such as the camera, the time, the GPS position and the color profile. The file gets a little smaller and says less about where it came from.
When it stops
If the BMP cannot be parsed, the conversion stops with
input_corrupted.
BMP and JPG.What each format is, and the options this conversion takes.
- 01 · background
Background
The color that fills transparent areas, for formats such as JPEG that cannot be transparent. Write it as #RRGGBB, such as #ffffff for white.
default #ffffff - 02 · grayscale
Grayscale
Turns colors into shades of gray, which often makes the file smaller.
- 03 · 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 - 04 · 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 - 05 · quality
Quality
How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
1 to 100 default 90 - 06 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270 - 07 · 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
JPEG
Lossy photo compression that every device and browser opens. Small files, no transparency.
- Extensions
- .jpg .jpeg .jfif .jpe
- MIME type
- image
/jpeg - Kind
- Images
In your code.The same BMP to JPG conversion through the API, for your app or your agent.
$ cv convert photo.bmp photo.jpg$ cv convert photo.bmp photo.jpgQuestions.What people ask about BMP to JPG.
Yes. The width and height stay the same unless you set Max width or Max height. Those only shrink a picture that is larger than the limit.
JPG has no transparency, so transparent areas in a 32-bit bitmap become white. Set Background to fill them with another color.
Yes. JPG is lossy, so some detail is not kept. A higher Quality keeps more detail.
Yes. JPG to BMP converts in the other direction.