how calculate the size of image after compressed image

5 visualizzazioni (ultimi 30 giorni)
Noor Abbas
Noor Abbas il 20 Set 2017
Risposto: Rik il 20 Set 2017
how can calculate file size before and after compress image

Risposte (1)

Rik
Rik il 20 Set 2017
This was my first hit on Google for file size Matlab:
im1_stats = dir(filename_image1);
im2_stats = dir(filename_image2);
ratio = im1_stats.bytes./im2_stats.bytes

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by