Encoding and opacity