1. A method for encoding an image, comprising: receiving the image; adjusting the image based on a global uniform macro-type color space; modifying a portion of the image spatially based on a local uniform micro-type edge characteristic comprising a just-noticeable difference (JND) between a pixel of the portion and at least one neighboring pixel; converting, before the modifying of the portion of the image, the image from a first global uniform macro-type color space into a second global uniform macro-type color space; converting, after the modifying of the portion of the image, the image from the second global uniform macro-type color space into the first global uniform macro-type color space, wherein the local uniform micro-type edge characteristic is in the second global uniform macro-type color space; and outputting the image.