mason/dhandler (.thumbnail + callers): Pass in pre-scaled thumbnail.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 12 Jun 2023 10:33:57 +0000 (11:33 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 12 Jun 2023 10:48:39 +0000 (11:48 +0100)
commitccaab4e8a37a81ce43437a3ed7fbc0fd0cae7e1f
tree23e426cc35049f8df21dcda89a4c27544c1fec5b
parent2fe5383f36780a06574ea3a46e7d4d62ee4111a0
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.
mason/dhandler