replace type with imagemagick features