1. A method of data transmission, comprising the steps of: receiving a data value for encoding in an image; and generating the image, the image comprising a plurality of encoding regions, each of the encoding regions containing a respective representation of the data value, the data value being discernible based on any one of the encoding regions of the plurality of encoding regions, the encoding regions being arranged with a selected density of at least two of the encoding regions within the image, wherein the representation of the data value is based on a ratio of a first element in one of the encoding regions and a second element in the one of the encoding regions.