Switching from ImageMagick to OpenCV. ImageMagick was a pain.