Selective Resizing of Images

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

A particular value of the aspect ratio of a photo may be needed to fit a certain screen or print size. This Demonstration enables you to do this, while keeping the middle part of the photo free from distortion.


First, select the left and right part to be stretched or shrunk while leaving the central part unchanged. Then adjust the left and right stretch ratios to get the desired aspect ratio.


Contributed by: Erik Mahieu (January 2016)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.