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?".
We are working on adding some text dynamically in the image. Our designers will allocate a box inside each image and give us the dimensions, location of the box as shown in the image below. I tried to add text, but the X and Y axis required are very different from the ones provided by our design team. How can I add text in an image with dimensions and location based upon Pixels. Image height and width is known in pixels. Thank you.
You have "-gravity West", so the starting point for "-annotate" offsets is half-way down the left side. It seems more sensible to have "-gravity NorthWest" to start from the top-left corner, or perhaps SouthWest to start from bottom-left.