Migrated from: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/600
Narrative
As a developer, I can generate a reference thumbnail based on the original and generate arbitrary thumbnails based on that reference thumbnails, in order to save a CPU time on image scalers
Acceptance Criteria
- Generate a reference thumbnail on demand
- Generate arbitrary thumbnail sizes requested by users based on the that large thumbnail (if the requested size is smaller)
- Support just JPEG to begin with
Related Bugs
https://bugzilla.wikimedia.org/show_bug.cgi?id=67525
https://bugzilla.wikimedia.org/show_bug.cgi?id=73352