getimagesize() does not work with bitmaps. Is there a function that can get the size in pixels fo a .bmp file?