[R] write in rimage package

From: Alberto Monteiro <albmont_at_centroin.com.br>
Date: Thu, 06 Mar 2008 09:23:58 -0200


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



R-help_at_r-project.org mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 06 Mar 2008 - 11:27:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 06 Mar 2008 - 12:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive