[Rd] Re: RFC: package pixmap

Agustin Lobo alobo@ija.csic.es
Thu, 4 Oct 2001 14:04:53 +0200 (MET DST)


Hi! I'm testing pixmap. I've found the following:

> dim(lissN543)
[1] 270 900   3
>a <- pixmap(lissN543/255,ncol=900,nrow=270,type="rgb")
> dim(a)
[1] 270 900   3
> 
>plot.pixmap(a)

...and I get the image as a vertical rectangle (I was expecting an
horizontal rectangle). Is this an error or am I doing something 
wrong?

Agus


Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo@ija.csic.es


On Thu, 6 Sep 2001, Friedrich Leisch wrote:

> 
> There is a new package pixmap in $CRAN/src/contrib/Devel which
> provides a first shot at a class hierarchy for bitmapped images (as
> both bitmap and image are already taken I named it pixmap ... if
> somebody has an idea for a better name, please let me know).
> 
> This is by no means meant to be final ... more like a basis for
> discussion about classes for that purpose. It already has RGB, indexed
> and grey bitmaps and conversion and plotting methods for those.
> 
> Thanks to Roger Bivand there are native R functions for
> reading/writing PNM images, this replaces the respective functions in
> the e1071 package. Hence, the netpbm libraries are no longer needed,
> which should make life easier (especially on windows). Once we have
> agreed on the basic classes it should be easy to support import/export
> of other image formats like jpeg or png.
> 
> All feedback & code is welcome!
> 
> Best,
> Fritz
> 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._