GithubHelp home page GithubHelp logo

Comments (5)

1000ch avatar 1000ch commented on June 18, 2024

If you are using the same version of gulp-image and its configuration, the results should be the same as you say. Is there any difference between those configurations? or if they are same, the binaries bundled on gulp-image might (?) be different. So, could you clarify the difference between them?

from gulp-image.

minhquankq avatar minhquankq commented on June 18, 2024

I use the same version (6.1.0) and configuration

const imageOptimizerOptions = {
  pngquant: true,
  optipng: false,
  zopflipng: true,
  jpegRecompress: false,
  mozjpeg: true,
  guetzli: false,
  gifsicle: true,
  svgo: ['--enable', 'cleanupIDs', '--disable', 'convertColors', '--disable', 'removeViewBox'],
  concurrent: 10,
  quiet: true, // defaults to false
};

my gulp tasks are download the images from another repository and gulp-image to optimize the download images. if run again, I will delete the optimized images and download and gulp-image again (to make sure the input of gulp-image will be the same).

  • first, I run these gulp tasks on window, then commit the optimized images to git repository.
  • second, my teammate runs the same task on mac.

=> the expected is git status should not list any change

but currently, the optimize images was changes (they are different size also), does it depend on OS?

I have checked the version (the image for testing is jpeg)

  • gulp-image 6.2.0
  • mozjpeg 7.0.0
  • jpeg-recompress-bin 5.1.0
    The same version for window and mac.

from gulp-image.

1000ch avatar 1000ch commented on June 18, 2024

Also, would you check the version of binaries in node_modules?

from gulp-image.

minhquankq avatar minhquankq commented on June 18, 2024

Sorry for the late response, but what do you mean for binaries in node_modules? in my node_modules doesn't have any binaries dependency
image

from gulp-image.

1000ch avatar 1000ch commented on June 18, 2024

I mean the binaries bundled by each package (mozjpeg, jpeg-recompress-bin) in gulp-image.

from gulp-image.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.