-
In test
bugs.Ronly show differences (if any) rather than making the test fail. -
Improve
rep()calls inpixmap()to avoid replicatingNULLvectors and to avoid partial argument matching.
- Achim Zeileis takes over maintenance from Friedrich Leisch.
- Fixed some
NAMESPACEproblems.
-
Added dummy
NAMESPACEfile. -
Move class definitions to separate file, no
CollateinDESCRIPTION.
-
Explicitly mention in the help file that
read.pnmonly works for files, not other conntection. -
Fixed a bug in
write.pnmthat tried to open the same connection twice.
- Fixed a minor glitch in
write.pnm.
- Fixed a bug that prevented plotting images with only 1 row (bug report by Robert Esswein).
- Use
LazyLoadinstead ofSaveImage.
- Modified one of the regression tests for changes in R 2.4:
terrain.colors()now return transparency information -> do not use it in example.
- Standardized license field in
DESCRIPTIONfile.
- Fixed a bug in the prototype of class
"pixmap".
- New example for overlaying plots in
help(pixmap)submitted by Stephan Matthiesen.
-
Adjust for R 2.0.0.
-
Fixed a bug in coercion from
pixmapIndexedtopixmapRGB. -
There was a bug in the
methodspackage of R 1.9.x which was triggered by functions inpixmap, hence this version of the package depends on R >= 2.0.0.
-
Fixed a bug in
write.pnm()that wrote grey images in PPM format. -
The channel information was not changed when converting between RGB and grey pixmaps.
-
The
maxvalin PNM headers must be less than65536, not less than256.
-
read.pnm(): Vectorized (and renamed)as.integer.bytes()which provides a huge performance gain for reading "PBM" (b/w bitmaps). -
New function
addlogo().
- Clarified documentation of
read.pnm(file name extensions are ignored).
- Fixed some codoc problems (missing aliases).
read.pnm(): Changes made to function reading and parsing PNM file headers to permit comments of arbitrary length.
-
The whole package has moved to S4 classes and methods, hence all classes have a new representation. This also means that the code and the API are not fully backwards compatible with earlier versions of the package.
-
Added support for subsetting, see
example(pixmap). -
New:
addChannels()andgetChannels().
- pixmap():
- Added arguments
bbcentandcellres. nrowandncoldefault to the respective dimensions of the data argument (if present). Hence, pixmap does the expected when given a matrix or an array.datais rescaled to [0,1] for RGB and grey, and coerced to positive integers for indexed.colcan also be a function likerainbow()
- Added arguments
- Fixed bugs in plotting,
read.pnmandwrite.pnmwhich confused dimensions (rows versus columns), but together let plots look OK.