bittermelon2.2.1 package

Bitmap Tools

as_bm_list

Coerce to bitmap list objects

bm_flip

Flip (reflect) bitmaps

bm_font

Bitmap font object

bm_gray

Gray a bitmap

bm_invert

Invert (negate) a bitmap

bm_lapply

Modify bitmap lists

bm_list

Bitmap list object

bm_padding_lengths

Compute bitmap padding lengths

bm_rotate

Rotate bitmaps 0, 90, 180, or 270 degrees

Summary.bm_list

max, min, and range for bitmap objects

unicode_code_points

Get Unicode code points

as_bm_bitmap

Cast to a bitmap matrix object

as_bm_font

Coerce to bitmap font objects

unicode_utilities

Other Unicode utilities

bm_compress

Compress bitmaps by a factor of two

bm_distort

Resize bitmaps via distortion.

bm_edit

Edit a bitmap via text editor

bm_expand

Expand bitmaps by repeating each row and/or column

bm_extend

Extend bitmaps on the sides with extra pixels

bm_extract

Extract part of a bitmap

is_supported_bitmap

Test if the object is a bitmap object supported by the methods in this...

as_bm_pixmap

Cast to a pixmap matrix object

as.array.bm_matrix

Cast bitmap/pixmap objects to an array

as.data.frame.bm_matrix

Convert to data frame with pixel (x,y) coordinates

as.matrix.bm_matrix

Cast bitmap/pixmap objects to a (normal) matrix

bm_clamp

Clamp bitmap values

bittermelon

bittermelon: Bitmap Tools

bm_bind

Combine bitmap/pixmap objects by rows or columns

bm_bitmap

Bittermelon bitmap matrix object

bm_call

Execute a function call on bitmap objects

bm_compose

Compose graphemes in a bitmap list by applying combining marks

bm_mask

Modify bitmaps via masking with a 'mask' bitmap

bm_options

Get bittermelon options

bm_outline

Compute "outline" bitmap of a bitmap

bm_overlay

Merge bitmaps by overlaying one over another

bm_pad

Adjust bitmap padding lengths

bm_pixel_picker

Bitmap pixel picker

bm_pixmap

Bittermelon pixmap matrix object

bm_print

Print bitmap objects

bm_replace

Replace a color in a bitmap with another color

bm_resize

Resize bitmaps by trimming and/or extending

bm_shadow

Bitmap shadow, bold, and glow effects

bm_shift

Shift elements within bitmaps

bm_trim

Trim bitmaps

col2hex

Colors to standardized hex strings

col2int

Color to (native) integer conversions

combine

Combine bitmap objects

Extract.bm_matrix

Extract or replace parts of a bitmap/pixmap matrix

farming_crops_16x16

Sprites for twenty farming crops

hex_font

Read and write hex bitmap font files

is_bm_bitmap

Test if the object is a bitmap object

is_bm_font

Test if the object is a bitmap font object

is_bm_list

Test if the object is a bitmap glyph list object

is_bm_pixmap

Test if the object is a pixmap object

lengths

Widths or heights of bitmaps

monobit

Read and write bitmap font files using monobit

Ops.bm_object

S3 Ops group generic methods for bitmap objects

plot.bm_matrix

Plot bitmap/pixmap objects

print.bm_bitmap

Print bitmap objects

print.bm_pixmap

Print pixmap objects

yaff_font

Read and write yaff bitmap font files

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.

  • Maintainer: Trevor L. Davis
  • License: MIT + file LICENSE
  • Last published: 2026-01-29