added width height and bpp retrieval functions