Azzera filtri
Azzera filtri

how calculate the size of image after compressed image

3 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

Categorie

Scopri di più su Denoising and Compression in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by