how calculate the size of image after compressed image

11 visualizaciones (últimos 30 días)
Noor Abbas
Noor Abbas el 20 de Sept. de 2017
Respondida: Rik el 20 de Sept. de 2017
how can calculate file size before and after compress image

Respuestas (1)

Rik
Rik el 20 de Sept. de 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

Categorías

Más información sobre Denoising and Compression en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by