VOOZH about

URL: https://www.geeksforgeeks.org/python/pgmagick-resize-method-python/

⇱ Pgmagick resize() method - Python - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Pgmagick resize() method - Python

Last Updated : 26 May, 2020
The resize() function is an inbuilt function in the Pgmagick library which is used to resize an image. The function returns the true value on success.
Syntax:
resize('widthxheight')
Parameters: This function accepts the string of width and height formatted as 'widthxheight' which depicts the dimensions of the final image. Return Value: This function returns the Pgmagick object with image added.
Input Image: 👁 Image
Example 1: Output: 👁 Image
  Example 2:
Output: 👁 Image
Comment
Article Tags: