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

Feature request: support output of progressive images #77

Open
edwardhorsford opened this issue Feb 9, 2015 · 5 comments
Open

Feature request: support output of progressive images #77

edwardhorsford opened this issue Feb 9, 2015 · 5 comments

Comments

@edwardhorsford
Copy link

It would be great if you could choose to output progressive jpegs, or have them be progressive by default. Progressive images appear to load faster.

@andismith
Copy link
Owner

Not had a chance to try it myself, but this may work (let me know if it does). Add an option to your image configuration with:

customOut: 'interlace:plane'

@edwardhorsford
Copy link
Author

Thanks for the fast reply. Sadly doesn't work. I get this in the console:

Warning: Command failed: gm convert: Unable to open file (plane) [No such file or directory].

Reading the docs I think you want something like -interlace: Line as opposed to plane.

@edwardhorsford
Copy link
Author

Don't think it's inserting the right args. If I add image.interlace('line'); right before the write operation on line 379 it works.

@iparr
Copy link

iparr commented Aug 14, 2015

👍 for supporting this.

@johnv-git
Copy link
Contributor

Take a look at Issue #96
Once customIn is fixed, you can have interlacing for free.

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

No branches or pull requests

4 participants