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

Some small fixes to enhance robustness #449

Merged
merged 9 commits into from
Sep 20, 2017
Merged

Conversation

maage
Copy link

@maage maage commented Sep 4, 2017

No description provided.

This happens when transcoding with --fit.
Keep_palette works only for PNG but we do not notice PNG good enough now.
And because of this, we end up parsing FLIF with ConstantPlanes and
it does not work at flif_decode_FLIF2_inner_vertical /_horizontal where we
end up casting it as Plane<something>.
@maage
Copy link
Author

maage commented Sep 4, 2017

Maybe there is better way to guard against width/height or rows/cols being 0. These guards are mostly there where issues actually manifest.

@maage
Copy link
Author

maage commented Sep 4, 2017

I've also pushed fixes3 at https://github.com/maage/FLIF/tree/fixes3, it has some build infra stuff.

And also quick and dirty patches to handle situations to notice when FLIF decoding was not okay. My guess is that there is better ways to do that but at least these seem to work.

@jonsneyers jonsneyers merged commit 52a1b2d into FLIF-hub:master Sep 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants