bugfix #9 #1897

i'm copy imageMagick patch https://github.com/letharion/Gentoo-overlay to fix