Parse each image line and re-generate it.
That way we'll be able to check and correct the sizes.
Actually correct sizes if they're wrong