-
Notifications
You must be signed in to change notification settings - Fork 2
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
Progressive JPEG support per https://github.com/randytarampi/lwip/pull/29 #31
Conversation
Best reviewed: commit by commit
Optimal code review plan (1 warning)
|
lwip.open('lena.jpg', (err, image) => { | ||
if (err) return console.log(err); | ||
image.writeFile('lena_progressive.jpg', 'jpg', { progressive: true }, | ||
err => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').
|
||
const lwip = require('../'); | ||
|
||
lwip.open('lena.jpg', (err, image) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').
* Example for using LWIP to shift image's hue by 50 degrees. | ||
*/ | ||
|
||
const lwip = require('../'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
Pull Request Test Coverage Report for Build 249
💛 - Coveralls |
Closes #29 and EyalAr#245