Skip to content

[Feature request] Support non-tiled "streams" of PNG-to-1bpp/2bpp conversion #1673

Description

@Rangi42

If an input image is 8px wide, and the only output is graphics data (no tilemap, attrmap, palmap, or palette), and there's no deduplication or mirroring, then it's not necessary to divide the image into tiles: RGBGFX can just process the graphic one pixel row at a time.

This would occasionally be useful, e.g. for this sprite in pokered:

MinimizedMonSprite:
; 8x5 partial tile graphic
pusho b.X ; . = 0, X = 1
	db %...XX...
	db %..XXXX..
	db %.XXXXXX.
	db %..XXXX..
	db %..X..X..
popo
MinimizedMonSpriteEnd:

It's been requested before in #234 (comment) (as noted in #981 (comment)), and semi-supported by 8fe5293.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementTypically new features; lesser priority than bugsrgbgfxThis affects RGBGFX

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions