The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
We looked at image1.jpg and it does not have a consistent border (there is a white line near the top) so the auto-trim algorithm won't work for these types of images.