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

The output is different between window and mac #365

Open
minhquankq opened this issue Aug 17, 2020 · 2 comments
Open

The output is different between window and mac #365

minhquankq opened this issue Aug 17, 2020 · 2 comments

Comments

@minhquankq
Copy link

I have optimized image from the same image and execute on window and mac
Input image 87kb

Output:

  • Window image 30.8 kb
  • Mac image 32 kb

Expected: the output should be the same.

@keisto
Copy link

keisto commented Oct 14, 2020

I have the same issue I'm using a Mac while other developers on my team use Windows. Posted mine within imagemin-mozjpeg.
imagemin/imagemin-mozjpeg#53 (comment)

I also noticed changing the quality has doesn't change the output size.

new ImageminPlugin({
  test: /\.(jpe?g|png|gif|svg)$/i,
  plugins: [
    imageminMozjpeg({
      quality: 80 // 0 or 100 === same size
    })
  ]
 }),

@minhquankq is this still a problem for you? and can you verify changing the quality has no effect.

@Clarkkkk
Copy link

Same here. And it results in different content hashes in webpack. Is it possible to resolve the problem?

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

3 participants