Hi,
On Jan 2, 2012, at 7:00 AM, William Simpson wrote:
> Duncan, I checked out as.raster as you suggested. However, I can't
> find info on how to display and save a raster object. What a raster
> object is eludes me. These were fruitless
> ?as.raster
> ?grDevices
> library(help="grDevices")
> ?wi
I have figured out what I wanted to do using pixmap. Pixmap writes
.pgm files which I will batch convert to .bmp using Irfanview.
Thanks for your help.
Cheers,
Bill
On 1/2/12, William Simpson wrote:
> Duncan, I checked out as.raster as you suggested. However, I can't
> find info on how to displ
Duncan, I checked out as.raster as you suggested. However, I can't
find info on how to display and save a raster object. What a raster
object is eludes me. These were fruitless
?as.raster
?grDevices
library(help="grDevices")
?windows
?savePlot
x<-as.raster(matrix(runif(n*n),nrow=n))
How to d
Thanks Duncan for your help.
Bill
On 1/1/12, Duncan Murdoch wrote:
> On 12-01-01 9:05 AM, William Simpson wrote:
>> When using bmp() under Windows XP, I find that the saved image is a
>> shifted version of the correct image. Try this:
>
> The image() function isn't designed to be able to do pixel
On 12-01-01 9:05 AM, William Simpson wrote:
When using bmp() under Windows XP, I find that the saved image is a
shifted version of the correct image. Try this:
The image() function isn't designed to be able to do pixel-level
addressing, so it's not too surprising that some rounding error
some
When using bmp() under Windows XP, I find that the saved image is a
shifted version of the correct image. Try this:
n<-5
fn<-"01.bmp"
x<-matrix(runif(n*n),nrow=n)
image(x,col=gray(0:255/255),axes=F,frame.plot=F)
bmp(filename = fn,width = n, height = n, units = "px")
par(mar=c(0,0,0,0),pty="s")
ima
Hi R users,
I already had post this question under the title of bmp header, there was a
mistake in my post. The following is the same post without the mistake.
Thanks Rostam
I have a xml file. A value of one of the nodes of the xml file is a bmp
image encoded in base64. I would like to read this
Hi R users,
I have a xml file. A value of one of the nodes of the xml file is a bmp
image(RAW format) encoded in base64. I would like to read this image by R. I
think I should do the following steps:
1. Decoding it from base64 to binary.
2. Removing the header of the image file
3. building the mat
8 matches
Mail list logo