Convert XBM to JPG
Turn XBM images into JPEG. Same size in black and white, at quality 90 unless asked otherwise.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop XBM files on the dialor turn it to pick what to do
A JPG made from your XBM image.The picture keeps its size and stays black and white, saved at quality 90.
What you get
One JPG with the same width and height as the XBM. The image stays in black and white. Quality is 90 unless you set it differently.
JPG is lossy compression, so the file keeps detail at the level Quality sets and not every detail is guaranteed to survive.
Options
Set Quality from 1 to 100. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
Set Max width or Max height to shrink a large image. Each shrinks only what is wider or taller than the value, keeps the shape, and never enlarges anything. Both accept 1 to 20000 pixels.
Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.
When it fails
If the XBM cannot be parsed, the conversion stops with
input_corrupted. No JPG is produced in that case.
XBM and JPG.What each format is, and the options this conversion takes.
- 01 · 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 - 02 · 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 - 03 · 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 - 04 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270
The formats
X BitMap
X BitMap, monochrome images as C source.
- Extensions
- .xbm
- MIME type
- image
/x -xbitmap - 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 XBM to JPG conversion through the API, for your app or your agent.
$ cv convert photo.xbm photo.jpg$ cv convert photo.xbm photo.jpgQuestions.What people ask about XBM to JPG.
Yes. The width and height stay the same unless you set Max width or Max height, which only shrink larger images.
No. The result stays in black and white, as the XBM is.
Yes. Set Rotate to 90, 180 or 270 to turn it clockwise by that amount.
The file could not be parsed. The conversion stops and gives no JPG.