General Information on Bulk Image Transformation

This service was created to simplify the management and speed up the process of bulk image processing. It allows you to quickly generate unique variations of your photos, making it an excellent photo uniqueizer tool. The service provides image processing functions, including rotate, crop, resize, transpose, enhance, and filter.

Quick Reference: How to Use Bulk Image Processing

You can use various operations to work with images. Operations can be added in any order and with any desired parameters. It is possible to add the same type of operation multiple times. All operations will be executed in the order they are added. If you swap two operations in the queue, the final result will be different.

Rotate

Returns a rotated copy of this image. This method returns a copy of this image, rotated the given number of degrees counter-clockwise around its center.

Parameters:

  • angle – In degrees counter-clockwise.
  • resample – An optional resampling filter. This can be one of:
    • NEAREST (use nearest neighbor)
    • BILINEAR (linear interpolation in a 2x2 environment)
    • BICUBIC (cubic spline interpolation in a 4x4 environment)
    If omitted, or if the image has a restricted mode, it is set to NEAREST.
  • expand – Optional expansion flag. If `true`, expands the output image to make it large enough to hold the entire rotated image. If `false` or omitted, the output image will be the same size as the input image. Note that the expand flag assumes rotation around the center and no translation.
  • center – Optional center of rotation (a 2-tuple). Origin is the upper-left corner. Default is the center of the image.
  • fillcolor – An optional color for the area outside the rotated image.

Crop

Crops the image by the specified number of pixels on each side.

Resize

Returns a resized copy of this image.

Parameters:

  • size – The requested size in pixels, as a tuple or array: (width, height).
  • resample – An optional resampling filter. This can be one of: NEAREST, BOX, BILINEAR, HAMMING, BICUBIC, or LANCZOS. If the image has a restricted mode, it is always set to NEAREST. Otherwise, the default filter is BICUBIC.

Transpose

Transpose image (flip or rotate in 90-degree steps).

Parameters:

  • method – One of: flip left right, flip top bottom, rotate 90, rotate 180, rotate 270, transpose, or transverse.

Enhance

General Enhancement

The general `enhance` function returns an enhanced image.

Parameters:

  • factor – A floating point value controlling the enhancement. Factor 1.0 always returns a copy of the original image, lower factors mean less effect (less color, brightness, contrast, etc.), and higher values mean more effect. There are no restrictions on this value.

Specific Enhancements

There are specific classes for adjusting different aspects of an image:

Color Adjustment

Adjust image color balance. An enhancement factor of 0.0 gives a black and white image. A factor of 1.0 gives the original image.

Contrast Adjustment

Adjust image contrast. An enhancement factor of 0.0 gives a solid gray image, a factor of 1.0 gives the original image, and greater values increase the contrast of the image.

Brightness Adjustment

Adjust image brightness. An enhancement factor of 0.0 gives a black image, a factor of 1.0 gives the original image, and greater values increase the brightness of the image.

Sharpness Adjustment

Adjust image sharpness. An enhancement factor of 0.0 gives a blurred image, a factor of 1.0 gives the original image, and a factor of 2.0 gives a sharpened image.

Filter

The service provides the following set of predefined image enhancement filters:

  • BLUR
  • CONTOUR
  • DETAIL
  • EDGE ENHANCE
  • EDGE ENHANCE MORE
  • EMBOSS
  • FIND EDGES
  • SHARPEN
  • SMOOTH
  • SMOOTH MORE

A Word from the Administration

The service team thanks you for your attention. We are constantly developing the service and striving to make it more convenient for you. We wish you pleasant use!