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

Icons: compression fixes & larger dimension support #3564

Merged
merged 53 commits into from
May 20, 2024
Merged

Conversation

hedger
Copy link
Member

@hedger hedger commented Apr 2, 2024

What's new

  • gui: icon API improvements: getters for single frames
  • gui: increased max supported dimensions for icons to 65535x65535 (from 255x255)
  • gui, compression: unified heatshrink usage, added extra validations for icon decompression results
  • gui, compression: added support for decoding icons larger than decomp buffer size (1k), using dynamic allocations if needed
  • unit_tests: reworked to run tests as separate modules from SD card
  • fbt: added module filtering for firmware dist package
  • loader: api: added md5_calc, bt_keys_storage, pulse_glue, varint

Verification

  • Everything should work as before
  • You can create code that uses large images

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

@flipperdevices flipperdevices deleted a comment from github-actions bot Apr 2, 2024
Copy link

github-actions bot commented Apr 2, 2024

Compiled f7 firmware for commit 8c1b68ab:

This comment was marked as outdated.

@skotopes skotopes marked this pull request as ready for review April 19, 2024 11:04
@hedger hedger changed the title Hedger/icomp fixes Icons: compression fixes & bigger dimension Apr 23, 2024
@hedger hedger added UI Affects UI Core+Services HAL, furi & core system services labels Apr 23, 2024
@hedger hedger changed the title Icons: compression fixes & bigger dimension Icons: compression fixes & larger dimension support Apr 23, 2024
lib/toolbox/compress.c Outdated Show resolved Hide resolved
@hedger hedger added the App Loader FAP loader + API-related label May 19, 2024
@skotopes skotopes merged commit 9e42e00 into dev May 20, 2024
11 checks passed
@skotopes skotopes deleted the hedger/icomp_fixes branch May 20, 2024 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Loader FAP loader + API-related Core+Services HAL, furi & core system services UI Affects UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants