A large pixel BMP format image drawing method

A large pixel, large image technology, applied in the field of large pixel BMP format image drawing, can solve the problems of not being able to draw a picture, not being able to create a canvas, and limited pixel size

Active Publication Date: 2019-02-19
NINGXIA KOCEL MOLD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The image processing method in the program is generally to convert the two-dimensional vector coordinates into pixel coordinates and then call the drawing tool library such as: EasyX, GDI, GUI, etc. to draw pictures, but the tool libraries such as EasyX, GDI, GUI, etc. can draw pictures The pixel size has certain limitations. When the pixel size of the picture exceeds its limit, the program cannot create a canvas with this pixel size, or the canvas with this pixel size can be successfully created, but the image can only draw a part of it, not a complete one. pictures, so the drawing of large pixel pictures has become a certain technical bottleneck
[0003] For example, the drawing tool library provided by C++ can only draw a partial picture when drawing a BMP format picture with 60253*17181 pixels

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A large pixel BMP format image drawing method
  • A large pixel BMP format image drawing method
  • A large pixel BMP format image drawing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are some embodiments of the present invention. Ordinary technicians can also obtain other drawings based on these drawings on the premise of not paying creative work.

[0043] see Figure 1 to Figure 7 , the embodiment of the present invention provides a kind of drawing method of large pixel BMP format image, comprises the following steps:

[0044] Pre-dividing the image to be drawn into a first image 10 and a second image 20;

[0045] create first canvas 30;

[0046] Create the second canvas 40, cut out the part of the image position 50 occupied by the second image 20 on the first canvas 30 (that is, the second image 20 is a part of the image that cannot be drawn on the first canvas 30) and save i...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a large pixel BMP format image drawing method, comprising the following steps: pre-dividing the image to be drawn into a first image and a second image; establishing a first canvas; establishing a second canvas, picking out part of the canvas positions occupied by the second image on the first canvas, and storing the part of the canvas positions on the second canvas, and recording identification coordinate points of the picked part of the canvas positions on the first canvas; drawing a first image and a second image on the first canvas and the second canvas, respectively; filling a second canvas in which a second image is drawn into the first canvas to form a large image drawn on the same canvas; The invention adopts the method of matting and supplementing on the same size canvas to solve the problem that the larger pixel picture cannot be drawn by the common drawing method, and the method is simple in understanding and code realization, convenient and has certain use value.

Description

technical field [0001] The invention relates to the technical field of software programming image processing, in particular to a method for drawing large-pixel BMP format images. Background technique [0002] The image processing method in the program is generally to convert the two-dimensional vector coordinates into pixel coordinates and then call the drawing tool library such as: EasyX, GDI, GUI, etc. to draw pictures, but these tool libraries such as EasyX, GDI, GUI, etc. can draw pictures The pixel size has a certain limit. When the pixel size of the picture exceeds its limit, the program cannot create a canvas with this pixel size, or the canvas with this pixel size can be successfully created, but the image can only draw a part of it, and cannot draw a complete image. Therefore, the drawing of large-pixel pictures has become a certain technical bottleneck. [0003] For example, the drawing tool library provided by C++ can only draw a partial picture when drawing a pi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & AuthorityApplications(China)
IPC IPC(8): G06T11/00G06T11/40
CPCG06T11/001G06T11/40Y02D10/00
Inventor郑栋娥杜银学虎成周子翔高蕾
OwnerNINGXIA KOCEL MOLD