BitmapImage             package:R.image             R Documentation

_T_h_e _B_i_t_m_a_p_I_m_a_g_e _c_l_a_s_s

_D_e_s_c_r_i_p_t_i_o_n:

     Package:  R.image 
      *Class BitmapImage*

     'Object'
      '~~|'
      '~~+--'_'BitmapImage'_

     *Directly known subclasses:*
      GrayImage, MonochromeImage, RGBImage

     public abstract static class *BitmapImage*
      extends Object

     The abstract but static class BitmapImage provides methods to
     read, write and display bitmap images.

_U_s_a_g_e:

     BitmapImage()

_A_r_g_u_m_e_n_t_s:

     None.

_M_e_t_h_o_d_s:

     *Methods:*

         'as.character'       Gets a string description of the image.
         'depth'              Gets the number of bitplanes of the image.
         'dim'                Gets the dimension of the image.
         'getColorMap'        Gets the color map of the image.
         'getColors'          Gets the color matrix.
         'height'             Gets the height of the image.
         'image'              Displays the image.
         'plot'               Plots the image.
         'points'             Places the image on a existing plot as points.
         'read'               Reads an image from a file.
         'readJPEG'           -
         'readUsingExternal'  -
         'width'              Gets the width of the image.
         'write'              Writes the image to a file.
         'writeBMP'           -
         'writeEPS'           -
         'writeJPG'           -
         'writePBM'           -
         'writePGM'           -
         'writePNG'           -
         'writePPM'           -
         'writeRGB'           -

     *Methods inherited from Object*:
      $, $<-, [[, [[<-, as.character, attach, attachLocally,
     clearCache, clone, detach, equals, extend, finalize, gc,
     getEnvironment, getFields, getInstanciationTime,
     getStaticInstance, hasField, hashCode, ll, load, objectSize,
     print, save

_A_u_t_h_o_r(_s):

     Henrik Bengtsson (<URL: http://www.braju.com/R/>)

_S_e_e _A_l_s_o:

     For converting images in of file formats see ImageMagick (<URL:
     http://www.imagemagick.org>), which is free and available for many
     differt platforms.

_E_x_a_m_p_l_e_s:

        # Read the images 'logosm.ppm' of size 51x38.
        logo <- BitmapImage$read("logosm.ppm", path=system.file("images", package="R.image"))

        image(logo)
      

