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

Progressive JPEG support per https://github.com/randytarampi/lwip/pull/29 #31

Merged
merged 7 commits into from
Apr 28, 2020

Conversation

randytarampi
Copy link
Owner

Closes #29 and EyalAr#245

@randytarampi randytarampi added the enhancement New feature or request label Apr 27, 2020
@randytarampi randytarampi self-assigned this Apr 27, 2020
@pull-assistant
Copy link

pull-assistant bot commented Apr 27, 2020

Score: 0.83

Best reviewed: commit by commit


Optimal code review plan (1 warning)

added progressive option to JPEG

lib/util.js 67% changes removed in chore(util): ESLint.

     progressive JPEG - tests, example

     progressive JPEG - documentation

     chore(examples): ESLint.

     chore(util): ESLint.

     feat(Image): Fix conflicts per https://github.com/randytarampi/lwip/pu...

     chore(Image): Fix test typo introduced in http://github.com/randytaram...

Powered by Pull Assistant. Last update 24c058a ... 32ea2a9. Read the comment docs.

lwip.open('lena.jpg', (err, image) => {
if (err) return console.log(err);
image.writeFile('lena_progressive.jpg', 'jpg', { progressive: true },
err => {
Copy link

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) => {
Copy link

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('../');
Copy link

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).

@coveralls
Copy link

coveralls commented Apr 27, 2020

Pull Request Test Coverage Report for Build 249

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 97.271%

Totals Coverage Status
Change from base Build 240: 0.01%
Covered Lines: 496
Relevant Lines: 505

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants