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

add support for png compression? #20

Open
cartazio opened this issue Mar 25, 2013 · 5 comments
Open

add support for png compression? #20

cartazio opened this issue Mar 25, 2013 · 5 comments

Comments

@cartazio
Copy link

Hey,
I'm noticing that the png encoder doesn't (as yet) do the line based filter type compression.

a) would code that enables support for richer png compression be something you'd welcome into the code base?

(at some point in the coming months, i'm planning on adding some sort of png raster backend for diagrams, and vector graphics are a class of images that png can compress really well, so its a natural choice)

b) since i'll be playing with writing lots of compression related algs over the coming months, theres a small chance I might get around to doing this myself (though no guarantees)

@Twinside
Copy link
Owner

a/ yes
b/ good, because I don't have time to do it myself :)

@nomeata
Copy link

nomeata commented Nov 18, 2014

I’d be a user wanting this. Any progress?

@Twinside
Copy link
Owner

the b/ (and a/ also) still hold, I've even less free time than before and I'm favoring other projects right now :-/

But I've at least thought a little about it, all the modifications has to be done here and there, instead of the zero : data, calling a function to implement the simple heuristic given in the png specification: the minimum sum of absolute difference should do the trick. And maybe a more complex loop to handle the paeth filtering.

@cartazio
Copy link
Author

i may have some free time to do this some point during December as a break from my other OSS, please bump the thread early december and i'll do it for funsies :)

@Twinside
Copy link
Owner

Twinside commented Dec 4, 2014

Requested bump for @cartazio

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

3 participants