image type byte to string