use the map-reduce algorithm
use the synchronous (blocking) QtConcurrent API to scale a collection of
images.