[R] write in rimage package

Alberto Monteiro albmont at centroin.com.br
Thu Mar 6 12:23:58 CET 2008


Is there any way to write an imagematrix generated by the rimage package?

Reproducible example:

library(rimage)
x <-  read.jpeg(system.file("data", "cat.jpg", package="rimage"))
png("newcat.png")
plot(x)
dev.off()

The newcat.png image is different from the original file, because
there are ugly white borders around it.

Alberto Monteiro



More information about the R-help mailing list