Selective Resizing of Images

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

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

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.