VOOZH about

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

⇱ Pgmagick spread() method - Python - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Pgmagick spread() method - Python

Last Updated : 26 May, 2020
The spread() function is an inbuilt function in the Pgmagick library which is used to displace image pixels by a random amount. The function returns the true value on success.
Syntax:
spread(thresholdLevel)
Parameters: This function accept two parameters as mentioned above and described below: 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: