Application of common image formats in the hottest

2022-10-18
  • Detail

The application of common image formats in electronic publishing systems - images are not unfamiliar to us. Images are obtained by observing the objective world in different forms and means with various observation systems. They can act directly or indirectly on the human eye and then produce visual entities. We live in an information age. Scientific research and statistics show that about 75% of the information obtained by humans from the outside world comes from the visual system, that is, from images

we generally divide images into analog images and digital images. Simulated image refers to an image whose spatial coordinates and shading are continuously changing. Digital image is a discrete digital image with discontinuous spatial coordinates and gray levels, which can be directly processed by computer and applied to electronic publishing system

in order to facilitate the processing, display and output of digital images, we need to store digital images in a certain way in the computer. Image format is the recording format used to store some digital image data accounting for 10.3% in the file. In electronic publishing, there are many image formats to choose from. Which image format to choose in practical application often becomes a problem that puzzles many users. Therefore, we analyze and compare several common image formats, which is conducive to understand the characteristics of various image formats and facilitate the selection in practical applications

(I) BMP image format

bmp image file was first applied to the windows operating system launched by Microsoft, which is the simplest image format. Bmp image format consists of three parts

1. bitmap file header. The bitmap file header is the first 14 bytes, containing information such as the type and format standard of the image file

2. Bitmap information. Starting from the 142nd byte of the protection items of the electro-hydraulic servo universal experimental machine, that is, the data immediately following the bitmap file header is bitmap information. It can be divided into two parts: bitmap header and color correspondence table, of which the color correspondence table is optional. Bitmap information header contains basic image information about BMP image, such as length, width, compression method, etc. For bitmap files with a color mapping table, the color mapping table is immediately followed by the bitmap information header, which is actually a color index table

3. Bitmap data. The third part of the bitmap file is the bitmap data array, which records each pixel value of the image

bmp image format is very simple. It only has the most basic image data storage function, and can store 1-bit, 4-bit, 8-bit and 24 bit bitmaps of each pixel. Although the information it provides is too simple, due to the popularity of windows system and the simple, standard and transparent characteristics of BMP itself, the file format of BMP image 30t or more electro-hydraulic servo universal experimental machine has been popularized compared with electronic universal experimental machine. It is generally used in screen display under Windows system and some simple image systems. (to be continued)

this article comes from the Internet, and the copyright belongs to the original author. It is only for everyone to share and learn. If the author believes that infringement is involved and submits it to potential customers for internal quality inspection, please contact us, and we will delete it immediately after verification

Copyright © 2011 JIN SHI