Package: nara 0.1.1.9033

nara: Native Raster Image Tools

Tools for 'nativeRaster' images.

Authors:Mike Cheng [aut, cre, cph], Julien Vernay [ctb]

nara_0.1.1.9033.tar.gz
nara_0.1.1.9033.zip(r-4.5)nara_0.1.1.9033.zip(r-4.4)nara_0.1.1.9033.zip(r-4.3)
nara_0.1.1.9033.tgz(r-4.4-x86_64)nara_0.1.1.9033.tgz(r-4.4-arm64)nara_0.1.1.9033.tgz(r-4.3-x86_64)nara_0.1.1.9033.tgz(r-4.3-arm64)
nara_0.1.1.9033.tar.gz(r-4.5-noble)nara_0.1.1.9033.tar.gz(r-4.4-noble)
nara_0.1.1.9033.tgz(r-4.4-emscripten)nara_0.1.1.9033.tgz(r-4.3-emscripten)
nara.pdf |nara.html
nara/json (API)
NEWS

# Install 'nara' in R:
install.packages('nara', repos = c('https://coolbutuseless.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/coolbutuseless/nara/issues

Datasets:

On CRAN:

gfxgraphicspkg

6.47 score 62 stars 37 scripts 32 exports 1 dependencies

Last updated 12 days agofrom:7b473ea586. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 06 2025
R-4.5-win-x86_64OKJan 06 2025
R-4.5-linux-x86_64OKJan 06 2025
R-4.4-win-x86_64OKJan 06 2025
R-4.4-mac-x86_64OKJan 06 2025
R-4.4-mac-aarch64OKJan 06 2025
R-4.3-win-x86_64OKJan 06 2025
R-4.3-mac-x86_64OKJan 06 2025
R-4.3-mac-aarch64OKJan 06 2025

Exports:array_to_nris_nativerastermagick_to_nrmatrix_to_nrnr_blitnr_blit_bulknr_circlenr_copy_intonr_cropnr_crop2nr_duplicatenr_fillnr_fliphnr_flipvnr_linenr_newnr_pointnr_polygonnr_polylinenr_rectnr_replacenr_resizenr_rotatenr_scalenr_text_basicnr_to_arraynr_to_magicknr_to_rasternr_transposenrs_to_gifnrs_to_mp4raster_to_nr

Dependencies:colorfast

C API

Rendered fromc-api.Rmdusingknitr::rmarkdownon Jan 06 2025.

Last update: 2025-01-06
Started: 2025-01-02

Convert images to/from nativeRaster

Rendered fromconversion.Rmdusingknitr::rmarkdownon Jan 06 2025.

Last update: 2024-06-02
Started: 2022-07-25

Readme and manuals

Help Manual

Help pageTopics
List of deer native rastersdeer_sprites
Check if object is 'nativeRaster'is_nativeraster
Convert a 'magick' image to 'nativeRaster'magick_to_nr nr_to_magick
Matrix to 'nativeRaster'matrix_to_nr
Copy one 'nativeRaster' image into another at an arbitrary location.nr_blit
Multiple blit operations in a single callnr_blit_bulk
Draw circles on a 'nativeRaster' imagenr_circle
Copy the contents of one 'nativeRaster' into another.nr_copy_into
Crop a section out of a nativeRaster into a new nativeRasternr_crop nr_crop2
Create a new 'nativeRaster' image and copy the dimensions and contents from an existing imagenr_duplicate
Fill a 'nativeRaster' image with the given colornr_fill
Flip a 'nativeRaster' horizontallynr_fliph
Flip a 'nativeRaster' verticallynr_flipv
Draw lines on a 'nativeRaster' imagenr_line
Create a 'nativeRaster' imagenr_new
Draw points on a 'nativeRaster' imagenr_point
Draw multiple polygon on a 'nativeRaster' imagenr_polygon
Draw polyline on a 'nativeRaster' imagenr_polyline
Draw rectangles on a 'nativeRaster' imagenr_rect
Replace colours in a native rasternr_replace
Scale a nativeRasternr_resize
Rotate a native raster by 90,180,270 degreesnr_rotate
Scale the size of a 'nativeRaster' using Nearest Neighbour resizinngnr_scale
Draw text on a 'nativeRaster' image using the built-in 'spleen' bitmapped font.nr_text_basic
Convert 'nativeRaster' images to/from other R objectsarray_to_nr nr_to_array nr_to_raster raster_to_nr
Transposenr_transpose
Magick conversion - possibly won't be in final version of 'nara' pkgnrs_to_gif
Magick conversion - possible won't be in final version of 'nara' pkgnrs_to_mp4
Plot a 'nativeRaster' as an imageplot.nativeRaster