Skip to content

Image Manipulation Operations

Benjamin G Nechicattu edited this page Apr 29, 2020 · 1 revision

Image Manipulation Operations

The usage of **pillow **library brings up a large space for image editing. Among them, few are loaded into the application.

Rotation.

Rotation operation rotates the image in the workspace window. The user can specify the angle to which the image has to be rotated.

Brightness.

Users can now change the brightness by saying change brightness. Brightness too needs a parameter. A floating point number is passed as the argument for brightness which in turn increase the brightness by that much.

Contrast.

Contrast increases the contrast of the image by a floating point value.

Saturation.

This operation Increase the saturation of the image or reduces the saturation.

Flip.

Flips the image left to right or up to down. This makes the image looks like mirrored or tilted upside down.

Warmth.

Increases the red in every pixel and makes the image warmer.

Text.

Now we can add text in to an image. When the text function is called, it asks for the sentence to be added in the image. Varity of fonts are also incorporated along. Font type has to be specified by specifying the font name. Position of the text in the image has to be specified by passing the x, y coordinates or by saying how much to right or down.

Black and white filter.

Now a days black and white images brings nostalgic feel to the image. This can be brought to the image by a call and specify the strength of the filter.

Sharpness.

Increases the sharpness of the image and makes the image crispier and less blurred.

Detail.

Increases the details and the structure of the objects in the image.

Crop.

Crop the image by passing four arguments corresponding to left, upper, right and lower of the image.

Blur.

Blurs the image or reduces the sharpness of the image which gives a spread appearance to the image.

Contour.

This can select the pixels with same intensity and find out the edges in an image.

Edge Enhance.

Edge enhance enhances the edges of objects in an image. For more edge enhance use more edge enhance

Smooth.

Just like blurring, this function smoothens the objects in the image. For more smooth use more Smooth.

Resize.

This function reduce the image size, resolution thus reducing the memory space occupied by the image while saving.

Save.

Save function saves the image in a specific name and extension format as the user specify in a user space.

Clone this wiki locally