I replaced imager::load.image with magick::image_read followed by imager::magick2cimg to return the same kind of object cimg. With these changes both Travis and Appveyor ran and passed the tests. The reason I made these changes is that, the new image_load function returns the same pixel values on ubuntu and windows, unlike the previous code that used imager::load.image.
I replaced
imager::load.image
withmagick::image_read
followed byimager::magick2cimg
to return the same kind of objectcimg
. With these changes both Travis and Appveyor ran and passed the tests. The reason I made these changes is that, the newimage_load
function returns the same pixel values on ubuntu and windows, unlike the previous code that usedimager::load.image
.