use gm convert instead of perl binding for 30% performance improvement