Refactor graphics magick routine into separate file