What is the difference between .mat and .bpg?
- Extension
 - .mat
 - .bpg
 
- Format
 - Binary
 - Binary
 
- Category
 - Data
 - Raster Image
 
- Developer
 - The MathWorks
 - Fabrice Bellard
 
- Description
 - MAT (MATLAB Image Format) is an image file format created by MathWorks for storing and sharing MATLAB data and images. It contains data in a binary format, as well as metadata describing the image. MAT files can be used to store images, 3D models, and other types of data.
 - Better Portable Graphics (BPG) image format created to replace the JPEG format; provides the same quality as JPEG images but in a smaller file size; supports lossless compression; natively supports 8 to 14 bits per channel.
 
- MIME Type
 - application/octet-stream
 - image/x-bpg
 
- Sample
 - sample.mat
 - sample.bpg
 
- Wikipedia
 - .mat on Wikipedia
 - .bpg on Wikipedia