MATLAB: What the imfinfo function of matlab return size of compressed or uncompressed image

imfinfojpeg

I imfinfo function of the matlab return the size of image in bytes. I want to know whether it returns size of the compressed or uncompressed jpeg image?

Best Answer

The FileSize field it returns is the size of the file on disk. If you want to know the size of the uncompressed JPEG image you can multiply Width times Height times BitDepth and divide by 8
Related Question