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
Support for encoding progressive jpegs #12
Comments
I've done some research for another project. Tricky, but surprised no one transposed existing C code over. |
Here is a PJEG splitter: |
Interesting. Will ask someone with C exp to replicate that in JS; when I have that someone) |
I'm no progressive jpeg expert (@patrickhulce have you looked into this?) however from the look of that code @tomByrer it looks like it's more related to decoding a progressive jpeg into separate slices? whereas if I understand your question correctly @avalanche1 you want to take an arbitrary image data array and encode it as a progressive jpeg? I'm not really sure how complex this would be, but we'd welcome ideas or even a pull request! |
Encoding is slightly more hairy then decoding IMO, I haven't spent any time digging in to it. It might be worth establishing some goals of the project or at least guidelines for deciding if an aspect of JPEG should be worth maintaining here? Progressive encoding probably makes the cut, but the realm of possibilities is quite large and we have limited time :) |
It doesn't help that there don't seem to be any real progressive encoding solutions out there already in pure-javascript land! 😢 |
Probably correct if you don't hardcode the scans. Might be better as an 'plugin' or external research notes: |
Is it hard to implement? My proj does image manipulation client-side and it would be nice to be able to encode progressive jpegs.
The text was updated successfully, but these errors were encountered: