img convert script based imagmagick