Only use scalingFactor to process thumbnail