[PATCH 15/16] video: Add a function to get the dimensions of a BMP image