Image Compression vs Image Quality

Ask questions about projects relating to: computer science or pure mathematics (such as probability, statistics, geometry, etc...).

Moderators: AmyCowen, kgudger, bfinio, MadelineB, Moderators

Locked
BFERR123
Posts: 1
Joined: Sat Oct 04, 2014 4:22 pm
Occupation: Student 8th grade
Project Question: Testing image compression vs Image quality finding the tradeoff
Project Due Date: 10\6\2014
Project Status: I am conducting my experiment

Image Compression vs Image Quality

Post by BFERR123 »

In the experiment, it says to make a graph with your quality ratings and the compression ratios. What are the compression ratios?
chrisshen
Former Expert
Posts: 11
Joined: Sat Sep 13, 2014 7:53 am
Occupation: Student 11th Grade
Project Question: Volunteering - Becoming an expert
Project Due Date: N/A
Project Status: Not applicable

Re: Image Compression vs Image Quality

Post by chrisshen »

Hi BFERR123,
the image compression ratio is equal to uncompressed file size over the compressed file size. For example, if you had a 10mb file and compressed it to 2mb, the ratio would be 10/2 or 5. You would say the compression ratio is 5 to 1. You should look into lossy and lossless compression, the two main types of algorithms used in compression; lossless preserves a perfect copy of the original image, thus it is bigger, whereas lossy produces a near-perfect replica of the original image, thus it is compressed into a smaller file size. You should also look into the different file formats, .jpg, .png, .gif, iff, RAR, bmp, etc. Most of these are raster, or bitmap formats, meaning they rely on solely on pixels, which is why they get blurry when zoomed upon, but enough about that. You should be careful and make sure all of your photos are the same format before you begin; having different formats or converting between formats could change the pictures slightly and could act as a confounding variable. If you have any more questions, please ask.

-Chris
Locked

Return to “Grades 6-8: Math and Computer Science”