This needed a correction factor (currently hardcoded to be 1 / 1000) as it seems that the image editor uses 1 unit as its MAXIMUM dimension whereas everything else uses 1 unit = 1 pixel.
This needed a correction factor (currently hardcoded to be 1 / 1000) as it seems that the image editor uses 1 unit as its MAXIMUM dimension whereas everything else uses 1 unit = 1 pixel.