Nutil offers the ability to transform large images. We could try and replicate these functionalities. @ArdaBalkir suggests using https://github.com/libvips/libvips