change image size format from hex to decimal