While codeine can be extracted from opium , most codeine is synthesized from morphine through the process of O-methylation .

Codeine can be extracted from opium . Today , most codeine is synthesized from morphine through the process of O-methylation .
