imagick data out nearly there but still wrong