Filesize of an image
Ältere Kommentare anzeigen
i gone through some doc where i know the formula for an image filesize that is filesize = (height*width*bitdepth)/8 ;
i read an image file with imfinfo command it gives Filename: [1x50 char] FileModDate: '21-Nov-2013 18:42:02' FileSize: 174421 Format: 'jpg' FormatVersion: '' Width: 728 Height: 485 BitDepth: 24 ColorType: 'truecolor' FormatSignature: '' NumberOfSamples: 3 CodingMethod: 'Huffman' CodingProcess: 'Sequential' Comment: {}
so according to this file size is 174421 but according to formula its coming (728*485*24)/8 = 1059240
so what is the file size acualy is of an image
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Large Files and Big Data finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!