Comparisons of BMP JPEG and PNG files

Each image is 100x100 (10,000 pixels).
BMP is 3B/pixel (RGB components of pixel). 10,000*3=30,000=22.3K
JPEG lossy compression.
PNG lossless compression.

BMP JPEG PNG
One color
30054 B 356 B 237 B
16 colors in 10x10 blocks
30054 B 3260 B 506 B
16 colors in single pixels
30054 B 7522 B 6931 B
True Color single pixels
30054 B 6326 B 30209 B
JPEG: mildly smeared/blurred and color-simplified

BMP JPEG PNG
one pixel (1x1)
58 B 288 B 90 B
vertical line (1x100)
454 B 298 B 96 B
horizontal line (100x1)
354 B 298 B 92 B

can't create empty image file? a "null image".