wrlib: light changes to the code for ImageMagick