All this can be extended by addition of hydrogen. Naively, if you process a carbohydrate into hydrocarbons, about half the carbon is lost as CO2. Adding hydrogen allows the oxygen to be carried off as water rather than CO2 (or, the CO2 to be converted to hydrocarbons and water in a second step.) Hydrogen currently comes from natural gas but that will have to change anyway, with the hydrogen being produced by (for example) electrolysis of water.