Marco
Marco

Reputation: 1025

What are the file structure differences in bmp and jpg?

I am working on a microcontroller project which I need to think about what camera I should buy. I want to know what are the file structure differences between those formats.

The following is something that I made it up, but it is the kind of information that I want to get.

The 1st five bytes of data in a bmp file are headers of file, the 6th byte is the 1st R value of RGB. Every three bytes are the complete information for a pixel of an image.

Upvotes: 2

Views: 607

Answers (1)

Jim O'Neil
Jim O'Neil

Reputation: 23754

Check out the Microsoft reference for BMP (though there are variants) and the W3C spec for JPEG; enumerating the differences is left to the reader :)

Upvotes: 2

Related Questions