Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
works well. However a CentOS machine with IM 6.2.8 produces a pic with the original square resized and put in the left side of the frame, as in with -gravity left.
Any ideas?
Centered composition is the best solution, it is actually what -extent is really doing after all.
-extent started to make use of -gravity in version v6.3.2 Also at that time it added the use of -background color
before that it only cleared new areas to black.
Originally -extent was added to allow FAST image size modification without image data changes. Of course that is not what it does now