Read bitmap images (BMP,JPEG,PNG) without external dependencies