Gmagick: Gravity constants are defined but there is no setgravity() method?

StackOverflow https://stackoverflow.com/questions/11620288

  •  22-06-2021
  •  | 
  •  

Domanda

I'm programming in PHP and trying to utilize the Gmagick extension. According to the documentation, there is no setgravity() method as there is in Imagick, yet Gmagick defines the gravity constants. So how does one go about setting gravity in Gmagick?

È stato utile?

Soluzione

According to this, the gravity functions were added and they do appear to work, so the documentation is just out of date. The functions are just like Imagick.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top