Using MIN_VALUE and MAX_VALUE for image display when scaling.