Resize Tool
Image URL
?
Inputed image is:
Testing images:
https://resizer.viewmastercms.com/landscape.png
https://resizer.viewmastercms.com/square.png
Paste the image url used in Viewmaster CMS
Mode
default
crop
pad
boxpad
max
min
?
Crop
- Crops the resized image to fit the bounds of its container.
Pad
- Pads the resized image to fit the bounds of its container. If only one dimension is passed, will maintain the original aspect ratio.
Boxpad
- Constrains the resized image to fit the bounds of its container maintaining the original aspect ratio.
Max
- Resizes the image until the largest side reaches the set given dimension. Upscaling is disabled in this mode and the original image will be returned if attempted.
Min
- Resizes the image until the shortest side reaches the set given dimension. Upscaling is disabled in this mode and the original image will be returned if attempted.
If the aspect ratio is greater than one: Using max will resize to the inputed width dimension, using min will resize to the inputed height dimension
If the aspect ratio is less than one: Using max will resize to the inputed height dimension, using min will resize to the inputed width dimension
Select background color
Select anchor option
?
?
Click within the textfield to activate the colorpicker. Sets pad/boxpad color.
none
center
top
bottom
left
right
top left
top right
bottom left
bottom right
?
Anchors the position of the image to the selected option (i.e center) of it's bounding container.
?
Form displays the axis you can adjust based off of original image and inputed width and height values. Inputed decimal value adjusts the portion of the image displayed.
Trim image background
Optional Trim percent (decimal)
?
Cuts out background based off of an algorithm that detects intensity of pixel changes. Takes an input value between 0.0-1.0 corresponding to how agressive the algorithm will crop.
Width (px) *
?
If provided without Height, the resized image will maintain the current aspect ratio.
Height (px) *
?
If provided without Width, the resized image will maintain the current aspect ratio.
Sampler
default
Bicubic
Box
Catmull Rom
Hermite
Lanczos 2
Lanczos 3
Lanczos 5
Lanczos 8
Mitchell Netravali
Nearest Neighbor
Robidoux
Robidoux Sharp
Spline
Triangle
Welsh
?
Bicubic
- Gets the Bicubic sampler that implements the bicubic kernel algorithm W(x).
Box
-Gets the Box sampler that implements the box algorithm. Similar to nearest neighbor when upscaling. When downscaling the pixels will average, merging pixels together.
Catmull-Rom
-Gets the Catmull-Rom sampler, a well known standard Cubic Filter often used as a interpolation function.
Hermite
-Gets the Hermite sampler. A type of smoothed triangular interpolation filter that rounds off strong edges while preserving flat 'color levels' in the original image.
Lanczos 2
-Gets the Lanczos kernel sampler that implements smooth interpolation with a radius of 2 pixels. This algorithm provides sharpened results when compared to others when downsampling.
Lanczos 3
-Gets the Lanczos kernel sampler that implements smooth interpolation with a radius of 3 pixels. This algorithm provides sharpened results when compared to others when downsampling.
Lanczos 5
-Gets the Lanczos kernel sampler that implements smooth interpolation with a radius of 5 pixels. This algorithm provides sharpened results when compared to others when downsampling.
Lanczos 8
-Gets the Lanczos kernel sampler that implements smooth interpolation with a radius of 8 pixels. This algorithm provides sharpened results when compared to others when downsampling.
Mitchell-Netravali
-Gets the Mitchell-Netravali sampler. This seperable cubic algorithm yields a very good equilibrium between detail preservation (sharpness) and smoothness.
Nearest Neighbor
-Gets the Nearest-Neighbour sampler that implements the nearest neighbor algorithm. This uses a very fast, unscaled filter which will select the closest pixel to the new pixels position.
Robidoux
- Gets the Robidoux sampler. This algorithm developed by Nicolas Robidoux providing a very good equilibrium between detail preservation (sharpness) and smoothness comprable to the Mitchell-Netravali sampler.
Robidoux Sharp
-Gets the Robidoux Sharp sampler. A sharpend form of the Robidoux sampler.
Spline
-Gets the Spline sampler. A seperable cubic algorithm similar to the Mitchell-Netravali sampler but yielding smoother results.
Triangle
-Gets the Triangle sampler, otherwise known as Bilinear. This interpolation algorithm can be used where perfect image transformation with pixel matching is impossible, so that one can calculate and assign appropriate intensity values to pixels.
Image format
.jpeg
.png
source extention
?
Returns the image in the selected format. Source ext option will force original image format.
Image Preview