fixes density() on ImageMagick

on image magic density switch takes optionally one argument (dpi)
not two (w,h) like graphics magic