Image to Flipper bitmap converter
demo.mp4
img2fbm --help
Flipper bitmap files generator
Usage: img2fbm [OPTIONS] <source> [dolphin]
Arguments:
<source>
Path to png|jpg|jpeg|gif file
[dolphin]
Path to the 'dolphin' directory, if the gif passed
Options:
-H, --height <1-64>
Sets the height of output frame(s)
[default: 64]
--st <type>
Scale type
[default: fit]
Possible values:
- fill: Scale to fill animation bounds
- fit: Scale to fit in animation bounds
-a, --alignment <side>
Applied alignment if the source picture has aspect ratio different from the target
[default: bottom]
Possible values:
- left: Align source picture to left
- top: Align source picture to top
- right: Align source picture to right
- bottom: Align source picture to bottom
-p, --preview
Generate the previews of result pictures
--op
Only preview, do not generate .bm and other Flipper Animation files
--ps <multiplier>
Preview scale ratio
[default: 3]
-i, --inverse
Inverse output pixels
-r, --replace-manifest
Replace dolphin/manifest.txt file with a new one
-b, --background <background>
Set background pixels visible
[default: invisible]
Possible values:
- invisible: Keep transparent, white, unset, zero
- start: Make visible on the left or top side
- end: Make visible on the right or bottom side
- visible: Make visible, black, set, unit
-t, --threshold <percentage[:percentage]>
Threshold value or range of pixel brightness as a percentage, such as 20:80, 40:, :60, 50:50 or 50
[default: 20:80]
-s, --speed <speed>
Animation speed ratio
[default: 1]
-c, --cut <count[:count]>
Drop some frames from the start and from the end. For example 5:, :8 or 2:3, the last one drops 2 frames from start and 3 from the end
[default: 0:0]
From Releases
✅ MacOS x86_64
✅ MacOS ARM
✅ Linux x86_64
💤 Linux ARM
✅ Windows x86_64