How BMP to JPEG conversion works
BMP decode → normalized image frames → JPEG encode
Reading BMP
BMP input is decoded as an uncompressed or simply compressed bitmap with limited metadata.
Creating JPEG
JPEG output is widely compatible but has no alpha channel or animation; transparent pixels require a background color.