Package: bittermelon 2.1.0-6
bittermelon: Bitmap Tools
Provides functions for creating, modifying, and displaying bitmaps including printing them in the terminal. There is a special emphasis on monochrome bitmap fonts and their glyphs as well as colored pixel art/sprites. Provides native read/write support for the 'hex' and 'yaff' bitmap font formats and if 'monobit' <https://github.com/robhagemans/monobit> is installed can also read/write several additional bitmap font formats.
Authors:
bittermelon_2.1.0-6.tar.gz
bittermelon_2.1.0-6.zip(r-4.5)bittermelon_2.1.0-6.zip(r-4.4)bittermelon_2.1.0-6.zip(r-4.3)
bittermelon_2.1.0-6.tgz(r-4.4-any)bittermelon_2.1.0-6.tgz(r-4.3-any)
bittermelon_2.1.0-6.tar.gz(r-4.5-noble)bittermelon_2.1.0-6.tar.gz(r-4.4-noble)
bittermelon_2.1.0-6.tgz(r-4.4-emscripten)bittermelon_2.1.0-6.tgz(r-4.3-emscripten)
bittermelon.pdf |bittermelon.html✨
bittermelon/json (API)
NEWS
# Install 'bittermelon' in R: |
install.packages('bittermelon', repos = c('https://trevorld.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/trevorld/bittermelon/issues
Last updated 5 days agofrom:dad825ba61. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 15 2024 |
R-4.5-win | OK | Nov 15 2024 |
R-4.5-linux | OK | Nov 15 2024 |
R-4.4-win | OK | Nov 15 2024 |
R-4.4-mac | OK | Nov 15 2024 |
R-4.3-win | OK | Nov 15 2024 |
R-4.3-mac | OK | Nov 15 2024 |
Exports:as_bm_bitmapas_bm_fontas_bm_listas_bm_pixmapblock2ucpbm_bitmapbm_boldbm_callbm_clampbm_composebm_compressbm_distortbm_downscalebm_editbm_expandbm_extendbm_flipbm_fontbm_formatbm_glowbm_graybm_greybm_heightsbm_invertbm_lapplybm_listbm_maskbm_optionsbm_outlinebm_overlaybm_padbm_padding_lengthsbm_pixel_pickerbm_pixmapbm_printbm_replacebm_resizebm_rotatebm_shadowbm_shiftbm_trimbm_widthscol_bitmapcol2hexcol2intfarming_crops_16x16hex2ucpint2colint2ucpis_bm_bitmapis_bm_fontis_bm_listis_bm_pixmapis_combining_characteris_ucpname2ucppx_asciipx_autopx_unicoderange2ucpread_hexread_monobitread_yaffstr2ucpucp_sortucp2labelwrite_hexwrite_monobitwrite_yaff
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Extract or replace parts of a bitmap/pixmap matrix | [.bm_bitmap [.bm_matrix [.bm_pixmap [<-.bm_bitmap [<-.bm_pixmap |
Cast to a bitmap matrix object | as_bm_bitmap as_bm_bitmap.array as_bm_bitmap.bm_bitmap as_bm_bitmap.bm_pixmap as_bm_bitmap.character as_bm_bitmap.default as_bm_bitmap.glyph_bitmap as_bm_bitmap.grob as_bm_bitmap.lofi-matrix as_bm_bitmap.magick-image as_bm_bitmap.matrix as_bm_bitmap.maze as_bm_bitmap.nativeRaster as_bm_bitmap.pattern_square as_bm_bitmap.pattern_weave as_bm_bitmap.pixeltrix as_bm_bitmap.pixmapGrey as_bm_bitmap.pixmapIndexed as_bm_bitmap.pixmapRGB as_bm_bitmap.raster |
Coerce to bitmap font objects | as_bm_font as_bm_font.default as_bm_font.list |
Coerce to bitmap list objects | as_bm_list as_bm_list.bm_list as_bm_list.character as_bm_list.default as_bm_list.list |
Cast to a pixmap matrix object | as_bm_pixmap as_bm_pixmap.array as_bm_pixmap.bm_bitmap as_bm_pixmap.bm_pixmap as_bm_pixmap.default as_bm_pixmap.glyph_bitmap as_bm_pixmap.grob as_bm_pixmap.lofi-matrix as_bm_pixmap.magick-image as_bm_pixmap.matrix as_bm_pixmap.maze as_bm_pixmap.nativeRaster as_bm_pixmap.pattern_square as_bm_pixmap.pattern_weave as_bm_pixmap.pixeltrix as_bm_pixmap.pixmapGrey as_bm_pixmap.pixmapIndexed as_bm_pixmap.pixmapRGB as_bm_pixmap.raster |
Cast bitmap/pixmap objects to an array | as.array.bm_bitmap as.array.bm_pixmap |
Convert to data frame with pixel (x,y) coordinates | as.data.frame.bm_bitmap as.data.frame.bm_pixmap |
Cast bitmap/pixmap objects to a (normal) matrix | as.matrix.bm_bitmap as.matrix.bm_matrix as.matrix.bm_pixmap |
Bittermelon bitmap matrix object | bm_bitmap |
Execute a function call on bitmap objects | bm_call |
Clamp bitmap values | bm_clamp bm_clamp.bm_bitmap bm_clamp.bm_list bm_clamp.bm_pixmap bm_clamp.magick-image bm_clamp.nativeRaster bm_clamp.raster |
Compose graphemes in a bitmap list by applying combining marks | bm_compose |
Compress bitmaps by a factor of two | bm_compress bm_compress.bm_bitmap bm_compress.bm_list bm_compress.bm_pixmap bm_compress.magick-image bm_compress.nativeRaster bm_compress.raster |
Resize bitmaps via distortion. | bm_distort bm_distort.bm_bitmap bm_distort.bm_list bm_distort.bm_pixmap bm_distort.magick-image bm_distort.nativeRaster bm_distort.raster bm_downscale |
Edit a bitmap via text editor | bm_edit |
Expand bitmaps by repeating each row and/or column | bm_expand bm_expand.bm_bitmap bm_expand.bm_list bm_expand.bm_pixmap bm_expand.magick-image bm_expand.nativeRaster bm_expand.raster |
Extend bitmaps on the sides with extra pixels | bm_extend bm_extend.bm_bitmap bm_extend.bm_list bm_extend.bm_pixmap bm_extend.magick-image bm_extend.nativeRaster bm_extend.raster |
Flip (reflect) bitmaps | bm_flip bm_flip.bm_bitmap bm_flip.bm_list bm_flip.bm_pixmap bm_flip.magick-image bm_flip.nativeRaster bm_flip.raster |
Bitmap font object | bm_font |
Gray a bitmap | bm_gray bm_gray.bm_bitmap bm_gray.bm_list bm_gray.bm_pixmap bm_gray.magick-image bm_gray.nativeRaster bm_gray.raster bm_grey |
Widths or heights of bitmaps | bm_heights bm_heights.bm_list bm_heights.bm_matrix bm_heights.magick-image bm_heights.nativeRaster bm_heights.raster bm_widths bm_widths.bm_list bm_widths.bm_matrix bm_widths.magick-image bm_widths.nativeRaster bm_widths.raster |
Invert (negate) a bitmap | bm_invert bm_invert.bm_bitmap bm_invert.bm_list bm_invert.bm_pixmap bm_invert.magick-image bm_invert.nativeRaster bm_invert.raster |
Modify bitmap lists | bm_lapply |
Bitmap list object | bm_list |
Modify bitmaps via masking with a 'mask' bitmap | bm_mask bm_mask.bm_bitmap bm_mask.bm_list bm_mask.bm_pixmap bm_mask.magick-image bm_mask.nativeRaster bm_mask.raster |
Get bittermelon options | bm_options |
Compute "outline" bitmap of a bitmap | bm_outline bm_outline.bm_bitmap bm_outline.bm_list bm_outline.bm_pixmap bm_outline.magick-image bm_outline.nativeRaster bm_outline.raster |
Merge bitmaps by overlaying one over another | bm_overlay bm_overlay.bm_bitmap bm_overlay.bm_list bm_overlay.bm_pixmap bm_overlay.magick-image bm_overlay.nativeRaster bm_overlay.raster |
Adjust bitmap padding lengths | bm_pad bm_pad.bm_bitmap bm_pad.bm_list bm_pad.bm_pixmap bm_pad.magick-image bm_pad.nativeRaster bm_pad.raster |
Compute bitmap padding lengths | bm_padding_lengths bm_padding_lengths.bm_bitmap bm_padding_lengths.bm_list bm_padding_lengths.bm_pixmap bm_padding_lengths.magick-image bm_padding_lengths.nativeRaster bm_padding_lengths.raster |
Bitmap pixel picker | bm_pixel_picker bm_pixel_picker.bm_bitmap bm_pixel_picker.bm_pixmap bm_pixel_picker.raster |
Bittermelon pixmap matrix object | bm_pixmap |
Print bitmap objects | bm_format bm_print |
Replace a color in a bitmap with another color | bm_replace bm_replace.bm_bitmap bm_replace.bm_list bm_replace.bm_pixmap bm_replace.magick-image bm_replace.nativeRaster bm_replace.raster |
Resize bitmaps by trimming and/or extending | bm_resize bm_resize.bm_bitmap bm_resize.bm_list bm_resize.bm_pixmap bm_resize.magick-image bm_resize.nativeRaster bm_resize.raster |
Rotate bitmaps 0, 90, 180, or 270 degrees | bm_rotate bm_rotate.bm_list bm_rotate.bm_matrix bm_rotate.magick-image bm_rotate.nativeRaster bm_rotate.raster |
Bitmap shadow, bold, and glow effects | bm_bold bm_bold.bm_bitmap bm_bold.bm_list bm_bold.bm_pixmap bm_bold.magick-image bm_bold.nativeRaster bm_bold.raster bm_glow bm_glow.bm_bitmap bm_glow.bm_list bm_glow.bm_pixmap bm_glow.magick-image bm_glow.nativeRaster bm_glow.raster bm_shadow bm_shadow.bm_bitmap bm_shadow.bm_list bm_shadow.bm_pixmap bm_shadow.magick-image bm_shadow.nativeRaster bm_shadow.raster |
Shift elements within bitmaps | bm_shift bm_shift.bm_bitmap bm_shift.bm_list bm_shift.bm_pixmap bm_shift.magick-image bm_shift.nativeRaster bm_shift.raster |
Trim bitmaps | bm_trim bm_trim.bm_list bm_trim.bm_matrix bm_trim.magick-image bm_trim.nativeRaster bm_trim.raster |
Combine bitmap objects | c.bm_bitmap c.bm_font c.bm_list c.bm_pixmap |
Combine bitmap/pixmap objects by rows or columns | cbind.bm_bitmap cbind.bm_pixmap rbind.bm_bitmap rbind.bm_pixmap |
Colors to standardized hex strings | col2hex |
Color to (native) integer conversions | col2int int2col |
Sprites for twenty farming crops | farming_crops_16x16 |
Get Unicode code points | block2ucp hex2ucp int2ucp is_ucp name2ucp range2ucp str2ucp |
Test if the object is a bitmap object | is_bm_bitmap |
Test if the object is a bitmap font object | is_bm_font |
Test if the object is a bitmap glyph list object | is_bm_list |
Test if the object is a pixmap object | is_bm_pixmap |
S3 Ops group generic methods for bitmap objects | Ops.bm_bitmap Ops.bm_list Ops.bm_pixmap |
Plot bitmap/pixmap objects | as.raster.bm_bitmap as.raster.bm_pixmap col_bitmap plot.bm_bitmap plot.bm_matrix plot.bm_pixmap |
Print bitmap objects | format.bm_bitmap print.bm_bitmap px_ascii px_auto px_unicode |
Print pixmap objects | format.bm_pixmap print.bm_pixmap |
Read and write hex bitmap font files | read_hex write_hex |
Read and write bitmap font files using monobit | read_monobit write_monobit |
Read and write yaff bitmap font files | read_yaff write_yaff |
max, min, and range for bitmap objects | Summary.bm_list |
Other Unicode utilities | is_combining_character ucp2label ucp_sort |