Why the images processed through the Responsive Breakpoint Generator often increase in file size?

Open
#13 8 comments 0 reactions 1 assignee View on GitHub

@d-mendoza is already working on this.

Since Dec 28, 2020.

Assessment

This issue has not been assessed yet.

Description

question

Why the JPEGs images processed through the Responsive Breakpoint Generator increase in file size?

When I upload a JPEG image, let's say 1920px and 200Kb, the one downloaded in the zip from the generator with same dimensions (1920px) is much heavier in file size, much more than the original 200kb.

Sometimes it also happens that smaller images are heavier than larger ones.

This always happens when I upload JPEGs, never with WEBPs

Why is that?

Dominant language
JavaScript
Stars
443
Forks
33
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudinary/responsive_breakpoints_generator

All issues in cloudinary/responsive_breakpoints_generator

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.