-
Notifications
You must be signed in to change notification settings - Fork 596
Description
Is your feature request related to a problem?
I am using avalonia ui which uses this and I wanted to make a nes/snes graphics system in avalonia ui.
Problem is I have tried doing this multiple times and I just don't have the experience to do it.
The reason I want to do this is so I can store graphics into a binary file and minimize size.
I want to have a 8 * 8 * 32 * 30 * 65536 pixels which in 4bpp color would be 1.87 GiB if the entire binary is filled. According to google this would take 15 GiB with 32bpp color if the entire binary is filled.
Describe the solution you would like
Please support drawing to and from compressed 1bpp 2bpp and 4bpp indexed color graphics
Describe alternatives you have considered
- Writing my own blitter.
- Looking for image libraries that do this
Additional context
Pixel operations should work on multiple pixels at a time with these formats without expanding them in memory.
The only time these compressed formats should be uncompressed is to convert them into a higher bpp format.
Of course it should not allocate more then the target pixel format.
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
Type
Projects
Status