VOOZH about

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

⇱ Node.js GM flip() Function - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Node.js GM flip() Function

Last Updated : 28 Apr, 2025

The flip() function is an inbuilt function in the GraphicsMagick library which is used to create a mirror image in the vertical direction. The function returns the true value of success. 

Syntax:

flip()

Parameters: This function does not accept any parameters. 

Return Value: This function returns the GraphicsMagick object. 

Example 1: 

Output:

 👁 Image
 

Example 2: 

Output:

 👁 Image
 

Reference:

Comment

Explore