Use integer values for get and set methods into images.