Native Raster Image Tools


[Up] [Top]

Documentation for package ‘nara’ version 1.0.1

Help Pages

array_to_nr Convert native raster images to/from other R objects
deer Deer images - a list of native raster images
is_nativeraster Check if object is a native raster image
magick_to_nr Convert a 'magick' image to native raster image
matrix_to_nr Convert a numeric matrix to native raster image
nrs_to_gif Convert a list of native rasters to an animated gif
nrs_to_mp4 Convert a list of native rasters to an mp4 video file
nr_blit Copy a native raster image into another at an arbitrary location, scale and rotation
nr_blit_multi Multiple blit operations in a single call
nr_circle Draw circles on a native raster image
nr_color_replace Replace colors in a native raster image
nr_copy Create a new native raster image and copy the dimensions and contents from an existing image
nr_copy_into Copy the contents of one native raster image into another.
nr_crop Crop a section out of a native raster image into a new image
nr_crop2 Crop a section out of a native raster image into a new image
nr_desaturate Move image colors to gray
nr_dither Dither to binary image
nr_fill Fill a native raster image with the given color
nr_fliph Flip a native raster image horizontally
nr_flipv Flip a native raster image vertically
nr_line Draw lines on a native raster image
nr_mask_begin Start/end region of masked drawing
nr_mask_end Start/end region of masked drawing
nr_new Create a native raster image
nr_new_from Create a native raster image
nr_point Draw points on a native raster image
nr_polygon Draw multiple polygons on a native raster image
nr_polyline Draw a polyline on a native raster image
nr_rect Draw rectangles on a native raster image
nr_resize Resize a native raster by specifying the output dimensions
nr_rotate Rotate a native raster image by 90,180,270 degrees
nr_scale Resize a native raster image using a scale factor
nr_text_mono Draw text on a native raster image using the built-in monospaced bitmapped font.
nr_threshold Threshold to binary image
nr_to_array Convert native raster images to/from other R objects
nr_to_magick Convert a 'magick' image to native raster image
nr_to_raster Convert native raster images to/from other R objects
nr_transpose Transpose
nr_tri_coords Draw multiple triangles from mesh data
nr_tri_mesh Draw multiple triangles from mesh data
plot.nativeRaster Plot a native raster image (after first clearning the device)
print.nativeRaster Print method
raster_to_nr Convert native raster images to/from other R objects
tileset A list of nativeraster tiles used for constructing a side-scrolling game.
tileset_config A data.frame of configuration information which can be used with 'nr_blit_multi()' and the 'tileset' data.