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

CXPM v3: 2D Compression #4

Open
schuylermartin45 opened this issue Mar 4, 2017 · 0 comments
Open

CXPM v3: 2D Compression #4

schuylermartin45 opened this issue Mar 4, 2017 · 0 comments

Comments

@schuylermartin45
Copy link
Owner

I'm ditching this idea for now.
Here are my original notes on the scheme. cxpm.py has more information in the header comments on this experimental branch: https://github.com/schuylermartin45/seegol/blob/image_drawing_cxpm_v3/src/res/cxpm.py

New compression scheme: CXPM v3

  • One stream of bytes, 3 bytes per region
  • CWH to paint a region w/ C for W,H rectangle; region directions are sequential
  • 0XY to indicate ul of next region
  • 000 to terminate image
    Old scheme "leaks" pixels occasionally for odd lengths(?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant