continue to fix 4 byte alignment in getImageHeight and getImageWidth