pixel-art-commands: Compute origin properties from originRatios.

Decouples origin properties from pixel size and image dimensions.