VOOZH about

URL: https://www.geeksforgeeks.org/node-js/node-js-gm-implode-function/

⇱ Node.js GM implode() Function - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Node.js GM implode() Function

Last Updated : 28 Apr, 2025

The implode() function is an inbuilt function in the GraphicsMagick library which is used to implode image pixels about the center. The function returns the true value of success. 

Syntax:

implode( factor )

Parameters: This function accepts a single parameter as mentioned above and described below:

  • factor: This parameter is used to specify the factor by which the image needs to be imploded image pixels about the center.

Return Value: This function returns the GraphicsMagick object. 

Example 1: 

Output:

 👁 Image
 

Example 2: 

Output: 

👁 Image
 

Reference:

Comment

Explore