This demo shows how to optimize photos sizes based on the print format selected by a user. It dynamically changes the resizing settings depending on a selected print size - e.g. for small format it is enough to resize it to 1600x1800 while larger formats require larger sizes.
Apps\PhotoOptimize
folder of the Upload Suite 8 SDK.