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?".
I've got a set of stills extracted from a video that I'd like to process the same way, but when I apply -trim to each still they are getting trimmed a tad different each time (when they should have the exact amount of black space on every still. Is there a way to get the average trim of a set and apply it to each one? Here's my code:
You can then process all the data to get the average width, height, xoffset and yoffset and then use -crop WxH+X+Y +repage, but it depends upon your OS for scripting.
Please always provide your IM version and platform when asking questions to save a lot of back and forth questions and answers.