BMP (Bitmap Image File)
BMP는 주로 압축 없이 각 픽셀을 저장하는 Microsoft의 기본 래스터 이미지 형식입니다. 파일이 크지만 단순하여 화면 캡처, Windows 시스템 그래픽, 비압축 이미지가 필요한 상황에 사용됩니다.
MIME 타입
application/xml
유형
텍스트
압축
무손실
장점
- + Self-describing with user-defined tags and schemas
- + Mature ecosystem: XPath, XSLT, XSD, SAX/DOM parsers
- + Standard for RSS/Atom feeds, SVG, XHTML, and SOAP
- + Supports namespaces for mixing vocabularies
단점
- − Verbose syntax compared to JSON or YAML
- − Parsing is slower and more memory-intensive than JSON
- − Largely replaced by JSON for web APIs
.XML 사용 시점
BMP는 비압축 픽셀 데이터가 필요하거나 레거시 Windows 시스템과의 호환성이 필요한 경우에 사용하세요. 일반적인 이미지에는 PNG나 WebP를 사용하세요.
기술 세부사항
BMP 파일은 파일 헤더(BM 매직 바이트, 파일 크기, 데이터 오프셋), 정보 헤더(크기, 비트 심도, 압축), 선택적 색상 테이블, 픽셀 데이터로 구성됩니다. 하단에서 상단(bottom-up) 행 저장과 32비트 행 정렬 패딩이 특징입니다.
역사
Microsoft와 IBM은 1980년대 초 OS/2와 Windows용으로 BMP를 도입했습니다. 디바이스 독립적 비트맵(DIB)으로 설계되었으며 수십 년간 Windows의 기본 이미지 형식이었습니다.
.XML에서 변환
.XML로 변환
관련 포맷
관련 용어
Learn More
File Format Conversion: A Complete Guide
Converting files between formats is a daily task for professionals across every industry. This comprehensive guide covers document, image, audio, …
JSON vs YAML vs TOML: Choosing a Configuration Format
Configuration files are the backbone of modern applications. JSON, YAML, and TOML each offer different trade-offs between readability, complexity, and …
Meta Tags for SEO: Title, Description, and Open Graph
Meta tags control how your pages appear in search results and social media shares. This guide covers the essential meta …
Text Encoding Explained: UTF-8, ASCII, and Beyond
Text encoding determines how characters are stored as bytes. Understanding UTF-8, ASCII, and other encodings prevents garbled text, mojibake, and …
CSV vs JSON vs XML: Data Exchange Formats Compared
Data exchange formats serve different needs. CSV excels at tabular data, JSON dominates web APIs, and XML powers enterprise integrations. …
How to Format and Validate JSON Data
Malformed JSON causes silent failures in APIs and configuration files. Learn how to format, validate, and debug JSON documents to …