SlideShare a Scribd company logo
1 of 13
College of Engineering Pune (COEP)
Forerunners in Technical Education
A seminar on
.bmp Image Data format
Presented By
Mahesh Pawar (121697010)
College of Engineering Pune (COEP)
Forerunners in Technical Education
Some Common Image Formats
- JPG : Used for most digital photos but “lossy”
- GIF : Best for line drawings. 256 colors maximum. No loss
- BMP : Bitmap. Every pixel stored individually
- TIF : Standard in many technical applications. No loss
- PNG : Lossless image format
- RAW : Data as captured by digital camera
College of Engineering Pune (COEP)
Forerunners in Technical Education
Test Image in Various Formats
- JPG 67 kb
- GIF 185 kb (256 colors, optimized)
- BMP 899 kb (640*479*3/1024 =
898.125)
- TIF 902 kb
- PNG 418 kb
- RAW 900 kb
Test Image (640 x 479 pixels)
College of Engineering Pune (COEP)
Forerunners in Technical Education
GIF Versus JPG
GIF: 11 kb JPG: 78 kb
College of Engineering Pune (COEP)
Forerunners in Technical Education
.bmp format
-BMP file format called as bitmap or DIB file format
-DIB in memory
-Pixel storage :
- Pixels are stored with colour depth of 1,4,8,16,24,32 bits/pixel
Uncompressed bitmap files are typically much larger than compressed
-Colour palette
College of Engineering Pune (COEP)
Forerunners in Technical Education
Bitmap File structure
- Bitmap-file Header
- Bitmap information Header
- Colour table
Fig. Bitmap File Format
College of Engineering Pune (COEP)
Forerunners in Technical Education
Bitmap file Header
uint 2 bytes Filetype
Dword 4 bytes File size in bytes
Uint 2 bytes Reserved
Uint 2 bytes Reserved
dword 4 bytes Offset to data in
bytes
- Contains information about type, size and layout of a bitmap file
- First two characters – BM (0x42 0x4D)
- Next four bytes – file size
- Next four bytes are unused
- Final four bytes are an offset
College of Engineering Pune (COEP)
Forerunners in Technical Education
Bitmap information header
-Specifies the dimensions, compression type, and colour format for the bitmap
-First four bytes are header size – 40 bytes followed by width and height of the image
-Next two bytes – 1 i.e. number of planes
-Next two bytes – number of bits used to represent colour intensities of a pixel
-Next four bytes store the compression followed by the image size
-Next eight bytes store the X and Y resolution
-Final entries – number of colour map entries and the number of significant colours
College of Engineering Pune (COEP)
Forerunners in Technical Education
dword 4 Bitmap info header structure
size
Long 4 Bitmap width in pixels
Long 4 Bitmap height in pixels
Word 2 1
Word 2 Bits/pixel( 1 = monochrome )
Dword 4 Compression 0,8, 4
Dword 4 Image size in bytes
Long 4 Pixels/metre
Long 4 Pixels/metre
Dword 4 Number of colour indexes
Continued…….
College of Engineering Pune (COEP)
Forerunners in Technical Education
Colour Table & Image data
-Colour table is not present for bitmaps with 24 bit files.
-The format of the file depends on the number of bits used
to represent each pixel
-Bitmap data immediately following the colour table.
-Bitmap pixel data is stored upside down from its actual image
-A scan line must be zero padded to end
-The scan lines in the bitmap are stored from bottom to the top
-One important issue : managing junk bytes
College of Engineering Pune (COEP)
Forerunners in Technical Education
Usage of BMP format
-Simplicity
-Well documented and free of patents
-Most BMP files have a relatively large file size & can be compressed
with lossless data compression algorithm
College of Engineering Pune (COEP)
Forerunners in Technical Education
References
[1] https://en.Wikipedia.org/wiki/Image_file_formats
[2] John Miano, "Compressed Image File Formats“, ISBN - 0-201-60443-4,1999
[3] R. Witrow, “ OpenGL Graphics through Applications”, Springer-verlag London
Limited, 2008
College of Engineering Pune (COEP)
Forerunners in Technical Education
Thank you

More Related Content

What's hot

Image file formats
Image file formatsImage file formats
Image file formatsBob Watson
 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphicanku2266
 
DCT image compression
DCT image compressionDCT image compression
DCT image compressionyoussef ramzy
 
Digital image processing
Digital image processingDigital image processing
Digital image processingtushar05
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniquessakshij91
 
Fundamentals and image compression models
Fundamentals and image compression modelsFundamentals and image compression models
Fundamentals and image compression modelslavanya marichamy
 
Lecture 3 image sampling and quantization
Lecture 3 image sampling and quantizationLecture 3 image sampling and quantization
Lecture 3 image sampling and quantizationVARUN KUMAR
 
Multimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital librariesMultimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital librariesMazin Alwaaly
 
Compression: Images (JPEG)
Compression: Images (JPEG)Compression: Images (JPEG)
Compression: Images (JPEG)danishrafiq
 
digital image processing
digital image processingdigital image processing
digital image processingN.CH Karthik
 
Image compression
Image compressionImage compression
Image compressionHuda Seyam
 
3d transformation computer graphics
3d transformation computer graphics 3d transformation computer graphics
3d transformation computer graphics University of Potsdam
 
Multimedia tools(images)
Multimedia tools(images)Multimedia tools(images)
Multimedia tools(images)dhruv patel
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filtersA B Shinde
 
image basics and image compression
image basics and image compressionimage basics and image compression
image basics and image compressionmurugan hari
 
Chapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image EnhancementChapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image EnhancementVarun Ojha
 

What's hot (20)

Image file formats
Image file formatsImage file formats
Image file formats
 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphic
 
DCT image compression
DCT image compressionDCT image compression
DCT image compression
 
Digital image processing
Digital image processingDigital image processing
Digital image processing
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
Fundamentals and image compression models
Fundamentals and image compression modelsFundamentals and image compression models
Fundamentals and image compression models
 
Lecture 3 image sampling and quantization
Lecture 3 image sampling and quantizationLecture 3 image sampling and quantization
Lecture 3 image sampling and quantization
 
CRT (Cathode ray tube)
CRT (Cathode ray tube)CRT (Cathode ray tube)
CRT (Cathode ray tube)
 
Multimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital librariesMultimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital libraries
 
Compression: Images (JPEG)
Compression: Images (JPEG)Compression: Images (JPEG)
Compression: Images (JPEG)
 
digital image processing
digital image processingdigital image processing
digital image processing
 
Digital Audio
Digital AudioDigital Audio
Digital Audio
 
Jpeg compression
Jpeg compressionJpeg compression
Jpeg compression
 
Image compression
Image compressionImage compression
Image compression
 
3d transformation computer graphics
3d transformation computer graphics 3d transformation computer graphics
3d transformation computer graphics
 
Multimedia tools(images)
Multimedia tools(images)Multimedia tools(images)
Multimedia tools(images)
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
image basics and image compression
image basics and image compressionimage basics and image compression
image basics and image compression
 
Chapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image EnhancementChapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image Enhancement
 

Viewers also liked

Parallel dsp for efficient piano synthesis
Parallel dsp for efficient piano synthesisParallel dsp for efficient piano synthesis
Parallel dsp for efficient piano synthesisMahesh pawar
 
Presentazione sito
Presentazione sitoPresentazione sito
Presentazione sitoCory sky
 
Adaptive quantization methods
Adaptive quantization methodsAdaptive quantization methods
Adaptive quantization methodsMahesh pawar
 
Synthetic aperture radar
Synthetic aperture radarSynthetic aperture radar
Synthetic aperture radarMahesh pawar
 
Digital Image Processing Fundamental
Digital Image Processing FundamentalDigital Image Processing Fundamental
Digital Image Processing FundamentalThuong Nguyen Canh
 
Image Processing Basics
Image Processing BasicsImage Processing Basics
Image Processing BasicsNam Le
 
Introduction to digital image processing
Introduction to digital image processingIntroduction to digital image processing
Introduction to digital image processingHossain Md Shakhawat
 
Introduction to Digital Image Processing Using MATLAB
Introduction to Digital Image Processing Using MATLABIntroduction to Digital Image Processing Using MATLAB
Introduction to Digital Image Processing Using MATLABRay Phan
 
Phonology -- The Sound Patterns of Language Made Easy
Phonology -- The Sound Patterns of Language Made EasyPhonology -- The Sound Patterns of Language Made Easy
Phonology -- The Sound Patterns of Language Made EasyRichard Binkney, Ph.D.
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image ProcessingSahil Biswas
 

Viewers also liked (14)

Parallel dsp for efficient piano synthesis
Parallel dsp for efficient piano synthesisParallel dsp for efficient piano synthesis
Parallel dsp for efficient piano synthesis
 
Presentazione sito
Presentazione sitoPresentazione sito
Presentazione sito
 
Image File Fomat
Image File FomatImage File Fomat
Image File Fomat
 
Grade 8 image file format
Grade 8   image file formatGrade 8   image file format
Grade 8 image file format
 
Adaptive quantization methods
Adaptive quantization methodsAdaptive quantization methods
Adaptive quantization methods
 
Synthetic aperture radar
Synthetic aperture radarSynthetic aperture radar
Synthetic aperture radar
 
quantization
quantizationquantization
quantization
 
Digital Image Processing Fundamental
Digital Image Processing FundamentalDigital Image Processing Fundamental
Digital Image Processing Fundamental
 
Image Processing Basics
Image Processing BasicsImage Processing Basics
Image Processing Basics
 
Introduction to digital image processing
Introduction to digital image processingIntroduction to digital image processing
Introduction to digital image processing
 
Image processing ppt
Image processing pptImage processing ppt
Image processing ppt
 
Introduction to Digital Image Processing Using MATLAB
Introduction to Digital Image Processing Using MATLABIntroduction to Digital Image Processing Using MATLAB
Introduction to Digital Image Processing Using MATLAB
 
Phonology -- The Sound Patterns of Language Made Easy
Phonology -- The Sound Patterns of Language Made EasyPhonology -- The Sound Patterns of Language Made Easy
Phonology -- The Sound Patterns of Language Made Easy
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 

Similar to .bmp image data format

Commonly Used Image File Formats
Commonly Used Image File FormatsCommonly Used Image File Formats
Commonly Used Image File FormatsFatih Özlü
 
Stem 71 24 multimedia elements - graphics
Stem 71 24   multimedia elements - graphicsStem 71 24   multimedia elements - graphics
Stem 71 24 multimedia elements - graphicsKelly Bauer
 
Technical glossary
Technical glossaryTechnical glossary
Technical glossaryAmaanGDesign
 
DIWE - Multimedia Technologies
DIWE - Multimedia TechnologiesDIWE - Multimedia Technologies
DIWE - Multimedia TechnologiesRasan Samarasinghe
 
Portable Network Graphics (PNG)
Portable Network Graphics (PNG)Portable Network Graphics (PNG)
Portable Network Graphics (PNG)Sarmad Makhdoom
 
Image stegnography and steganalysis
Image stegnography and steganalysisImage stegnography and steganalysis
Image stegnography and steganalysisPrince Boonlia
 
Image types &fileformats
Image types &fileformatsImage types &fileformats
Image types &fileformatsvilasini rvr
 
Technical glossary
Technical glossaryTechnical glossary
Technical glossaryhalo4robo
 
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...n|u - The Open Security Community
 
Digital Imaging of Photographs
Digital Imaging of PhotographsDigital Imaging of Photographs
Digital Imaging of PhotographsJenn Riley
 
L3 cmp technicalfile_180911
L3 cmp technicalfile_180911L3 cmp technicalfile_180911
L3 cmp technicalfile_180911mapuk7
 
Rick power point
Rick power pointRick power point
Rick power pointrickjolly
 
multimedia data and file format
multimedia data and file formatmultimedia data and file format
multimedia data and file formatALOK SAHNI
 
Graphic Concepts
Graphic ConceptsGraphic Concepts
Graphic Conceptsnylysy
 

Similar to .bmp image data format (20)

Commonly Used Image File Formats
Commonly Used Image File FormatsCommonly Used Image File Formats
Commonly Used Image File Formats
 
MM1
MM1MM1
MM1
 
Stem 71 24 multimedia elements - graphics
Stem 71 24   multimedia elements - graphicsStem 71 24   multimedia elements - graphics
Stem 71 24 multimedia elements - graphics
 
Technical glossary
Technical glossaryTechnical glossary
Technical glossary
 
DIWE - Multimedia Technologies
DIWE - Multimedia TechnologiesDIWE - Multimedia Technologies
DIWE - Multimedia Technologies
 
Bmsc1103
Bmsc1103Bmsc1103
Bmsc1103
 
Portable Network Graphics (PNG)
Portable Network Graphics (PNG)Portable Network Graphics (PNG)
Portable Network Graphics (PNG)
 
Image stegnography and steganalysis
Image stegnography and steganalysisImage stegnography and steganalysis
Image stegnography and steganalysis
 
Image types &fileformats
Image types &fileformatsImage types &fileformats
Image types &fileformats
 
Technical glossary
Technical glossaryTechnical glossary
Technical glossary
 
madhu
madhumadhu
madhu
 
Multimedia
MultimediaMultimedia
Multimedia
 
Digital image formats
Digital image formatsDigital image formats
Digital image formats
 
Dip
DipDip
Dip
 
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...
 
Digital Imaging of Photographs
Digital Imaging of PhotographsDigital Imaging of Photographs
Digital Imaging of Photographs
 
L3 cmp technicalfile_180911
L3 cmp technicalfile_180911L3 cmp technicalfile_180911
L3 cmp technicalfile_180911
 
Rick power point
Rick power pointRick power point
Rick power point
 
multimedia data and file format
multimedia data and file formatmultimedia data and file format
multimedia data and file format
 
Graphic Concepts
Graphic ConceptsGraphic Concepts
Graphic Concepts
 

Recently uploaded

MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 

Recently uploaded (20)

MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 

.bmp image data format

  • 1. College of Engineering Pune (COEP) Forerunners in Technical Education A seminar on .bmp Image Data format Presented By Mahesh Pawar (121697010)
  • 2. College of Engineering Pune (COEP) Forerunners in Technical Education Some Common Image Formats - JPG : Used for most digital photos but “lossy” - GIF : Best for line drawings. 256 colors maximum. No loss - BMP : Bitmap. Every pixel stored individually - TIF : Standard in many technical applications. No loss - PNG : Lossless image format - RAW : Data as captured by digital camera
  • 3. College of Engineering Pune (COEP) Forerunners in Technical Education Test Image in Various Formats - JPG 67 kb - GIF 185 kb (256 colors, optimized) - BMP 899 kb (640*479*3/1024 = 898.125) - TIF 902 kb - PNG 418 kb - RAW 900 kb Test Image (640 x 479 pixels)
  • 4. College of Engineering Pune (COEP) Forerunners in Technical Education GIF Versus JPG GIF: 11 kb JPG: 78 kb
  • 5. College of Engineering Pune (COEP) Forerunners in Technical Education .bmp format -BMP file format called as bitmap or DIB file format -DIB in memory -Pixel storage : - Pixels are stored with colour depth of 1,4,8,16,24,32 bits/pixel Uncompressed bitmap files are typically much larger than compressed -Colour palette
  • 6. College of Engineering Pune (COEP) Forerunners in Technical Education Bitmap File structure - Bitmap-file Header - Bitmap information Header - Colour table Fig. Bitmap File Format
  • 7. College of Engineering Pune (COEP) Forerunners in Technical Education Bitmap file Header uint 2 bytes Filetype Dword 4 bytes File size in bytes Uint 2 bytes Reserved Uint 2 bytes Reserved dword 4 bytes Offset to data in bytes - Contains information about type, size and layout of a bitmap file - First two characters – BM (0x42 0x4D) - Next four bytes – file size - Next four bytes are unused - Final four bytes are an offset
  • 8. College of Engineering Pune (COEP) Forerunners in Technical Education Bitmap information header -Specifies the dimensions, compression type, and colour format for the bitmap -First four bytes are header size – 40 bytes followed by width and height of the image -Next two bytes – 1 i.e. number of planes -Next two bytes – number of bits used to represent colour intensities of a pixel -Next four bytes store the compression followed by the image size -Next eight bytes store the X and Y resolution -Final entries – number of colour map entries and the number of significant colours
  • 9. College of Engineering Pune (COEP) Forerunners in Technical Education dword 4 Bitmap info header structure size Long 4 Bitmap width in pixels Long 4 Bitmap height in pixels Word 2 1 Word 2 Bits/pixel( 1 = monochrome ) Dword 4 Compression 0,8, 4 Dword 4 Image size in bytes Long 4 Pixels/metre Long 4 Pixels/metre Dword 4 Number of colour indexes Continued…….
  • 10. College of Engineering Pune (COEP) Forerunners in Technical Education Colour Table & Image data -Colour table is not present for bitmaps with 24 bit files. -The format of the file depends on the number of bits used to represent each pixel -Bitmap data immediately following the colour table. -Bitmap pixel data is stored upside down from its actual image -A scan line must be zero padded to end -The scan lines in the bitmap are stored from bottom to the top -One important issue : managing junk bytes
  • 11. College of Engineering Pune (COEP) Forerunners in Technical Education Usage of BMP format -Simplicity -Well documented and free of patents -Most BMP files have a relatively large file size & can be compressed with lossless data compression algorithm
  • 12. College of Engineering Pune (COEP) Forerunners in Technical Education References [1] https://en.Wikipedia.org/wiki/Image_file_formats [2] John Miano, "Compressed Image File Formats“, ISBN - 0-201-60443-4,1999 [3] R. Witrow, “ OpenGL Graphics through Applications”, Springer-verlag London Limited, 2008
  • 13. College of Engineering Pune (COEP) Forerunners in Technical Education Thank you