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; and outputting the image.