Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Compact data option to bitmap converter #549

Merged
merged 10 commits into from
Jul 26, 2024

Conversation

ellensp
Copy link
Contributor

@ellensp ellensp commented Apr 1, 2024

Added a new option "Compact".

This adds the custom_start_bmp_rle data to the generated .h file

Converted function bitwise_rle_encode from rle_compress_bitmap.py to JavaScript and integrated it into the marlin bitmap converter.

NOTE. The Compact option is only visible when you have Marlin 2.x and boot selected
eg

selection

An example of the end of the output
example

Related

  • ✨ RLE Custom Bootscreen Marlin#26419
  • @thinkyhead thinkyhead force-pushed the master branch 2 times, most recently from 47c0163 to 0ab0dd2 Compare July 26, 2024 06:33
    @thinkyhead thinkyhead merged commit 7f801d4 into MarlinFirmware:master Jul 26, 2024
    1 check passed
    @ellensp ellensp deleted the update-Bitmap-Converter branch July 26, 2024 07:38
    @thisiskeithb
    Copy link
    Member

    thisiskeithb commented Jul 26, 2024

    This tool no longer works. No matter what size image I paste in or upload (even 1x1 pixels), it fails:

    Pasted Image Uploaded Image
    image image

    Screenshot of test bitmap:

    image

    .ZIP of test bitmap:

    test_bmp.zip

    Edit: Still doesn't work after 4e590e2 or 720bd92.

    Tested with the latest versions of Firefox, Chrome, and Safari on macOS.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    3 participants