[C #] how images are stored,

Source: Internet
Author: User

[C #] how images are stored,

Use ue to open an image and use your hands to show the effect of the card tray.

Can I use C # To create an image editor? How? How do I get the route?

Answer later

Obtain the basic knowledge of the class according to the actual operation:

1. files are stored in binary format. In order to facilitate viewing, the editor only provides a hexadecimal display. The structure of the image document is complex and not easy to display.

2. Each row of a hexadecimal file has a line mark

3. block data may be distinguished by some identifiers.

The above information reminds me of one thing, looking for standards! Find the standard!

The answer should be yes. First come to a standard

Http://baike.baidu.com/link? Url = Response

The omnipotent Internet tells us that the author of the image editor must follow this standard in the past and present of jpeg.

Bmp:

Http://baike.baidu.com/link? Url = Response

Size: 52270

Jpg

Size: 2417

The bmp, jpg, and png formats are quite large.

Bmp big vernacular one-five-ten descriptions;

Jpg will be summarized in an overview and described in a brief manner;

The character decides fate. bmp is a long-winded expression. If it is too complicated to expect bmp to do, It will bother you with storage fees (it's all right, but it's all nonsense ), however, computers like this product, because computers are a straight brain. You 'd better tell me what I want to do first, second, and second, so small bmp is very fast to open, however, the bmp of a complex image is powerless, and no one can stand a picture of hundreds of megabytes.

Jpg can refine the expression of bmp into a very short content. The problem arises, and the summary will sacrifice the details. Therefore, jpg is not as small as bmp, But it occupies a very small space after compression. This determines that jpg can play many roles, and Internet transmission requires a small and accurate format. Jpg is more artistic, so jpg is a more advanced format. Parsing jpg is a little complicated. However, users see the efficiency and quality of the overall workload. Therefore, jpg is superior.

The computer or software must have a built-in decoder to parse these formats. When using a video player, we often encounter the problem of updating the decoding package.

There is no difficulty in understanding computer image processing.

 

Next, complete the effect of mosaic for the image in C.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.