Based on the question Create PDF with (resized) PNG images using Pycairo - rescaling Surface issue I have attempted to create code that rescales and places an image at a spe
Switch the order of scale and translate. Translate first, then scale.