Is it possible to compress general image data by 50% on the server?

Asked 2 years ago, Updated 2 years ago, 43 views

In order to reduce smartphone traffic consumption, there is a technology that compresses communications with servers via a data compression server provided by Google and others.

  • Google

Reduce data usage using Chrome's data saver
How Data Savers Work
If you access a web page while using a data saver, Google's servers reduce the amount of data downloaded.

  • Opera Max

Compress data communication with proprietary technology through the server
Opera Max is a resident application that saves all data communication on the device.Reduce data traffic by compressing text data, image data, and other application communication data from websites accessed by users as much as possible via a unique server that can communicate securely.

  • Onavo Extend

Onavo Extend compresses data traffic on your smartphone [Today's Life Hack Tool]
Currently, there is basically a limit on the amount of data per month on smartphones, and if the limit is exceeded, the connection speed will be greatly reduced.In the midst of this, Onavo Extend is an app that compresses data traffic and helps you stay away from falling. It supports both iPhone and Android.
Below is an illustration to give you a general idea of how it works.

Enter a description of the image here

Now, I have a question.

I didn't know Chrome could save 50% on traffic.It may be the best browser for low-cost SIM operations.

Needless to say, Google Chrome is a well-known browser and I use it, but there is a setting that saves 50% of the traffic.

I thought it would be possible to reduce traffic volume by 50% by compressing text, HTML, and javascript as shown in by using gzip.
This compression server also compresses images, so compressed images such as jpg and png can be further compressed to reduce communication costs.

jpg and png are compressed images, so I don't think the server can compress them further. Does this compression mean reducing the size to a smartphone size by any chance?

ios android

2022-09-30 19:02

2 Answers

Some images light look a little fuzy.

Therefore, I think the quality is a little lower.
"The goal is not to notice it on a small screen, so in a way, I think it can be said that ""reduce the size to the size of a smartphone."""

I don't know if it's the same feature as Android, but Chrome on the desktop also has an add-on called data-saver.
Now, when I looked at this question page, I found that the questioner attached a 79.6kB JPG image D2FZ9.jpg (By the way, is this image copyrighted?) was 22.0kB.

What's interesting is that it was converted into a WebP format.
The depth of the color has disappeared a little, and the roughness has been seen only a little, but it's not something like deterioration, and I think Google wants to spread this image format.
Since no one is using it, it may be that you are forcing them to use it by creating this kind of service.


2022-09-30 19:02

JPEG is irreversible, so if you reduce the image quality, the compression rate will increase.

PNG is reversible compression, so it is difficult to increase the compression rate within the "reversible" range, but if you don't need to restore the original data, decode → process for easy compression → encode to increase the compression rate as well.

There are many other ways to delete metadata, such as reducing large images (shrinking and displaying anyway) → reducing the resolution by zooming in.

Now that we're talking about WebP, one way to do this is to convert it into a format that can achieve such a high compression rate.However, conversion to less major formats is a browser support issue.

For services to a particular browser, the browser has the best support range, so if you support a more compression-rate format, you'll have a performance advantage over others.

(It's just that it's best to use WebP in terms of performance, but Google doesn't intend to say that using WebP in such a minor service has increased usage or is becoming more popular.If you want to do that, there are many things you can do on Google.)

For general-purpose services that do not limit your browser, you will be forced to use general-purpose ( をold 性能performance is not very good) formats that many browsers will support.


2022-09-30 19:02

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.