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

Support for interlace image #28

Open
lpatiny opened this issue Feb 18, 2023 · 3 comments
Open

Support for interlace image #28

lpatiny opened this issue Feb 18, 2023 · 3 comments

Comments

@lpatiny
Copy link
Member

lpatiny commented Feb 18, 2023

There is an image that can not currently be decoded:

it('interlaced', () => {
expect(() => loadAndDecode('interlaced.png')).toThrow(
'Interlace method 1 not supported',
);
});

How difficult is it to enhance the library to support this format ?

@targos
Copy link
Member

targos commented Feb 18, 2023

I added another smaller image created with Photoshop. It's probably not too difficult to add support for the format but it requires careful reading of the spec and some refactoring to avoid repetition in the code.

@PabloMartinez-Beemeral
Copy link

Any update about this? Would be really good to be able to handle this files.

@PitchboyDev
Copy link

+1

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

4 participants