Fixed incorrect SIZE calculation
Improved format.fmt.pix.sizeimage != SIZE error message