Producer prices in Canada gained 0.5% in July from June, primarily on higher prices for energy and petroleum products, Statistics Canada said on Tuesday in a preliminary flash estimate. Energy and petroleum prices rose by 4.5%, the agency said, largely led by an increase in refined petroleum products and biofuels, including motor gasoline, light fuel oils and diesel fuel. Excluding energy and petroleum products, the industrial product price index increased 0.2%.