From: Mark Wooding Date: Mon, 12 Jun 2023 10:33:57 +0000 (+0100) Subject: mason/dhandler (.thumbnail + callers): Pass in pre-scaled thumbnail. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/tgal/commitdiff_plain/ccaab4e8a37a81ce43437a3ed7fbc0fd0cae7e1f?ds=inline;hp=ccaab4e8a37a81ce43437a3ed7fbc0fd0cae7e1f mason/dhandler (.thumbnail + callers): Pass in pre-scaled thumbnail. The objective here is to give the caller control over the order in which image scaling occurs. In particular, by loading an image once and generating the required scaled versions, we can potentially save a lot of memory, which is a significant factor when dealing with full-size DSLR images. ---