Sprite pushImage support for 8-bit sprites and transparency from PROGMEM#3794
Open
elatorre20 wants to merge 1 commit intoBodmer:masterfrom
Open
Sprite pushImage support for 8-bit sprites and transparency from PROGMEM#3794elatorre20 wants to merge 1 commit intoBodmer:masterfrom
elatorre20 wants to merge 1 commit intoBodmer:masterfrom
Conversation
Adds a definition of the pushImage function for sprites to push an 8-bit bitmap from PROGMEM to a sprite, with optional transparency. This is analogous to the existing pushImage functionality, but with support for 8 bits per pixel images rather than 16 bits.
Bodmer
reviewed
Feb 12, 2026
Owner
Bodmer
left a comment
There was a problem hiding this comment.
Since this is a new function a new sprite example is needed to demonstrate usage, otherwise the function will be missed.
The example will also allow me to test the change.
Make sure the example tests 8 >16 bit sprite and 8 > 8 bit sprite. State in the example that 8 > 4bpp and 8 > 1bpp is not supported.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a definition of the pushImage function for sprites to push an 8-bit bitmap from PROGMEM to a sprite, with optional transparency. This is analogous to the existing pushImage functionality, but with support for 8 bits per pixel images rather than 16 bits.