Closed rpsantosa closed 3 years ago
What happens if you use magick2cimg function? magick2cimg function works well on my computer.
img <- image_read("the_image.png")
magick2cimg(img) %>% plot
I found out that imager do some preprocessing, normalizing the colors, what gives better results on some images.
the result from as.cimg %>% plot is different from magick::image_read %>% plot or as.raster %>% plot ( the last 2 are equal, and different from cimg output)