CN102572203B - Compression method and device for latticed page - Google Patents

Compression method and device for latticed page Download PDF

Info

Publication number
CN102572203B
CN102572203B CN201210029902.9A CN201210029902A CN102572203B CN 102572203 B CN102572203 B CN 102572203B CN 201210029902 A CN201210029902 A CN 201210029902A CN 102572203 B CN102572203 B CN 102572203B
Authority
CN
China
Prior art keywords
dot array
compress mode
compress
array page
compression
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210029902.9A
Other languages
Chinese (zh)
Other versions
CN102572203A (en
Inventor
康俊杰
杨斌
赵晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201210029902.9A priority Critical patent/CN102572203B/en
Publication of CN102572203A publication Critical patent/CN102572203A/en
Application granted granted Critical
Publication of CN102572203B publication Critical patent/CN102572203B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a compression method for a latticed page, comprising the following steps: dividing a latticed page to be compressed into at least two latticed page parts; processing each of the divided latticed page parts, to determine the type of the elements in the maximum proportion in each of the latticed page parts; and selecting a corresponding compression manner to compress the latticed page part according to the determined type of the elements in the maximum proportion. Accordingly, the invention provides a compression device for a latticed page. With a technical scheme disclosed by the invention, the problem that compressing the whole latticed page in the same compression manner cannot well alleviate the contradiction between the compression ratio and the compression speed in the prior art can be solved.

Description

Dot array page compression method and device thereof
The application for applicant on September 26th, 2008 submit to, application number is 200810223362.1, denomination of invention is < < dot array page compression method and the dividing an application of the application for a patent for invention of device > >.
Technical field
The present invention relates to Computer Image Processing field, relate in particular to a kind of dot array page compression method and device thereof.
Background technology
In computer graphic image process field, raster image processor (RIP, Raster ImageProcessor) be a kind of for will be such as PS(PostScript, a kind of programming language that is used for describing content of pages, its standard is formulated by the Adobe company of the U.S.) form or PDF(Portable Document Format, a kind of electronic file form that is used for describing content of pages, its standard is formulated by the Adobe company of the U.S.) page of format description transforms into the equipment of dot array page, in follow-up processing procedure, conventionally adopt grating image equipment, such as photo-composing machine, computer direct platemaking machine, printers etc. print output to transforming the dot array page generating, and before printout, often need dot array page to compress, to save memory space and processing time.
When dot array page is compressed, the compress mode adopting often exists contradiction between compression speed and compression factor (wherein, the original size of compression factor=dot array page/after dot array page is compressed the size of compressed file), be exactly briefly, when same width dot array page is compressed, if adopt the high compress mode of compression factor to compress this dot array page, compression speed can be smaller; And if the large compress mode of employing compression speed is compressed this dot array page, although compression speed can become greatly, compression factor is lower.
Usually, when selecting compress mode to compress dot array page, can select compression factor higher, but the relatively low compress mode of compression speed is compressed to the higher dot array page of complexity; And for the lower dot array page of complexity, can select compression speed larger, and the relatively low compress mode of compression factor is compressed it.
In a width dot array page, tend to exist text element, graphic element, pictorial element, in addition, also can there is the white space that does not comprise any word, figure and image, pixel in this white space does not comprise such as any information such as colouring information, half-tone informations, so the element type that the pixel in this white space has is called as " blank element ".Have at the same time in the dot array page of blank element, text element, graphic element and pictorial element, the part at pictorial element place can have higher complexity, and the part at graphic element, blank element or text element place can have lower complexity.In the prior art, while compressing for a width dot array page, adopt same compress mode to compress whole dot array page, so just ignore the difference of various elements in dot array page, thereby also just can not alleviate well the above-mentioned problem about contradiction between compression factor and compression speed.
Summary of the invention
The embodiment of the present invention provides a kind of dot array page compression method and device, for solving available technology adopting same compress mode, whole dot array page is compressed, and can not alleviate well the problem of contradiction between compression factor and compression speed.
For this reason, the present invention is by the following technical solutions:
A dot array page compression method, comprising: dot array page to be compressed is divided into at least two dot array page parts; And each dot array page obtaining for division is partly handled as follows:
In described dot array page part, add up respectively the number of every kind of element type ident value, the number of the every kind of element type ident value obtaining according to statistics, determine the element type of proportion maximum in described dot array page, wherein element type ident value is that content of pages grating is being turned in the process of dot array page, is respectively the element type ident value that the different element types in this dot array page are given respectively;
According to the element type of definite proportion maximum, select corresponding compress mode partly to compress described dot array page.
A dot array page compression set, comprises division unit, for dot array page to be compressed being divided into at least two dot array page parts; Determining unit, for divide each dot array page part obtaining for division unit, add up respectively the number of every kind of element type ident value, the number of the every kind of element type ident value obtaining according to statistics, determine the element type of proportion maximum in described dot array page, wherein element type ident value is that content of pages grating is being turned in the process of dot array page, is respectively the element type ident value that the different element types in this dot array page are given respectively; Selected cell, for according to the element type of the definite proportion maximum of determining unit, selects corresponding compress mode partly to compress described dot array page.
A dot array page compression method, comprising: determine the element type comprising in dot array page to be compressed; According to definite result, select different compress modes respectively the page at different element types place partly to be compressed.
A dot array page compression set, comprises determining unit, for the element type of determining that dot array page to be compressed comprises; Selected cell, for according to definite result of determining unit, selects different compress modes respectively the page at different element types place partly to be compressed.
The embodiment of the present invention is by being divided into dot array page to be compressed at least two dot array page parts; And each the dot array page part obtaining for division, determine the element type of proportion maximum in described dot array page part; And according to the element type of definite proportion maximum, select corresponding compress mode partly to compress described dot array page, thereby can alleviate well the problem of contradiction between compression factor and compression speed.
Accompanying drawing explanation
Fig. 1 is the dot array page schematic diagram that has comprised various different element types;
The idiographic flow schematic diagram of a kind of dot array page compression method that Fig. 2 provides for the embodiment of the present invention;
The specific implementation schematic flow sheet of the dot array page compression method that Fig. 3 provides for the embodiment of the present invention;
Fig. 4 is generated the dot array page schematic diagram of intermediate form by parent page in the embodiment of the present invention;
Fig. 5 schematic diagram corresponding with pixel in dot array page that be element type ident value in element type dot matrix;
The concrete structure schematic diagram of a kind of dot array page compression set that Fig. 6 provides for the embodiment of the present invention;
The idiographic flow schematic diagram of the another kind of dot array page compression method that Fig. 7 provides for the embodiment of the present invention;
The concrete structure schematic diagram of the another kind of dot array page compression set that Fig. 8 provides for the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of dot array page compression scheme, in order to solve available technology adopting same compress mode, whole dot array page is compressed, and can not alleviate well the problem of contradiction between compression factor and compression speed.
Below in conjunction with each accompanying drawing, embodiment of the present invention technical scheme main realized to principle, embodiment and the beneficial effect that should be able to reach is explained in detail.
As shown in Figure 1, be the schematic diagram of a width dot array page, in this dot array page, comprised the various element types such as blank element, text element, graphic element, pictorial element, such as, the English alphabet in figure and Arabic numerals are text element; Star and hexagon are graphic element; Scenery picture is called as pictorial element; White space part except word, figure, image is blank element.
Usually, the complexity of one width dot array page can by above-mentioned each element respectively in this page shared ratio embody, such as the shared ratio of each element type in a width dot array page is respectively: blank element accounts for 50%, text element accounts for 30%, graphic element accounts for 15%, pictorial element accounts for 5%, can judge that the complexity of this dot array page is lower; And the shared ratio of each element is respectively in a width dot array page: pictorial element accounts for 70%, and text element accounts for 10%, and graphic element accounts for 15%, and blank element accounts for 5%, can judge that the complexity of this dot array page is higher.
Therefore, according to the corresponding relation of the complexity of the ratio of element type in dot array page and dot array page, the embodiment of the present invention provides a kind of dot array page compression method, and the idiographic flow schematic diagram of the method as shown in Figure 2, comprising:
Step 21, is divided at least two dot array page parts by dot array page to be compressed;
Step 22, determines respectively the element type of proportion maximum in each dot array page part obtaining in division;
Step 23, according to the element type of definite proportion maximum, selects respectively corresponding compress mode partly to compress each dot array page.
Owing at RIP, the parent page such as PS or PDF description being transformed in the process of dot array page, can generate the dot array page of the intermediate form that the gray value by pixel represents, therefore, the method that the present embodiment proposes can be according to the dot array page of this intermediate form, determine the element type of each pixel in the dot array page generating, and then determine the element type of proportion maximum in each dot array page part obtaining in division, and select corresponding compress mode partly to compress dot array page.The idiographic flow schematic diagram of this process as shown in Figure 3, comprising:
Step 31, the parent page of PS or PDF description is input in RIP, this RIP is set to: according to the parent page of input, need to export the four color separation (CMYK for printing of 600 pixels of per inch (600DPI), blue or green---Cyan, pinkish red---Magenta, yellow---Yellow, black---Black) dot array page, wherein, in the dot array page of output, each pixel need represent respectively by 1 byte the information of a kind of color separation in four color separations, i.e. four color separations of each pixel need 4 bytes to represent altogether;
Step 32, be respectively different element types and distribute unique element type ident value, such as, the pixel allocation elements ident value 1 that to can be, but not limited to as element type be image type, for the element type pixel allocation elements ident value 0 that is non-image type, or, for element type is the pixel difference allocation elements ident value 11,10,01,00 of image type, graph style, literal type and blank type;
Step 33, RIP is converted into parent page the dot array page of the intermediate form that the gray value by pixel represents, and the element type ident value according to distributing, generates the element type dot matrix corresponding with the dot array page of intermediate form;
Step 34, RIP, according to the colouring information in parent page, further generates CMYK dot array page on the dot array page basis of intermediate form;
Step 35, is at least divided into 2 dot array page parts by the CMYK dot array page of generation, such as, the dot array page part that every a part of dot array page of RIP segmentation output can be obtained as division;
Step 36, to thering is the pixel number of identical element type in the element type dot matrix generating in step 33, add up, thereby determine the element type of proportion maximum in each dot array page part, wherein, while adding up thering is the pixel of identical element type, can adopt the mode of pointwise statistics, also can adopt and take the mode that 8 neighborhoods add up as unit, such as, when the element type of certain pixel is pictorial element, according to 8 pixels in 8 fields adjacent with this pixel, be all that pictorial element is added up, visible, adopt the latter's statistical can accelerate Statistical Speed, improve statistical efficiency,
Step 37, according to the element type of proportion maximum in each dot array page part of determining, selects corresponding compress mode, respectively each dot array page is partly compressed.
Wherein, the specific implementation process of above-mentioned steps 33 is as follows:
First, RIP describes according to the image in parent page, figure and civilian glyph respectively, explain and form corresponding contour vector and describe, then utilize filling algorithm that the region that this profile is formed is filled, make this part parent page be converted into the dot array page of the intermediate form being represented by gray value, when filling, the region that this image outline can be formed is 255 to fill according to the gray value of pixel, and region and all the other white spaces that the region that graph outline is formed, text profile form are not filled; Also can according to the gray value of pixel, be 255 to fill by the region of this image outline, the region that graph outline is formed is 170 to fill according to the gray value of pixel, the region that text profile is formed is 85 to fill according to the gray value of pixel, and all the other white spaces are not filled, as shown in Figure 4, for generated the schematic diagram of the dot array page of intermediate form in this process by parent page;
By said process, generate after the dot array page of intermediate form, according in step 32 being the component identification value that every kind of element type distributes, further generate the corresponding element type dot matrix of element type having with each pixel, such as, when the element type ident value of non-image type is for being set to 0, and the element type ident value of image type is set to 1 o'clock, can be for the dot array page of the intermediate form obtaining after filling, the corresponding element type dot matrix generating for each pixel element type of representation page, as shown in Figure 5, be the element type ident value in the element type dot matrix of generation, the schematic diagram corresponding with pixel in the dot array page of intermediate form, can find out, in element type dot matrix and dot array page, the element type of pixel is one to one, and in this dot matrix, be used for representing that pixel element type only needs 1/8 byte, therefore, the shared memory space of this dot matrix needs the CMYK dot array page of 4 byte representations to compare than a pixel, the memory space that this dot matrix occupies is less, and the time of generting element type dot matrix is only for generating 1% left and right of CMYK dot array page time, in like manner, when element type is image type, graph style, the element value of statistical indicant that the pixel of literal type and blank type is set up is respectively 11, 10, 01, 00 o'clock, also can generate corresponding element type dot matrix, now for representing that pixel element type only needs 1/4 byte.
In addition, above-mentioned step 37 can be, but not limited to adopt following two kinds of modes to realize:
First kind of way: all regard graphic element, text element and blank element as non-image element, like this, in dot array page, only comprise these two kinds of element types of pictorial element and non-image element, therefore, when the element type of definite proportion maximum is pictorial element, select the first compress mode partly to compress described dot array page; And when the element type of definite proportion maximum is non-image element, select the second compress mode partly to compress described dot array page; Wherein the compression factor of the first compress mode is higher than the compression factor of the second compress mode, or the compression speed of the second compress mode is greater than the compression speed of the first compress mode, such as, first compress mode here can be, but not limited to as distance of swimming compression algorithm, and the second compress mode can be, but not limited to the compression algorithm into ZLIB.
The second way: the element type of dot array page comprises pictorial element, graphic element, text element and blank element, when the element type of definite proportion maximum is pictorial element, select the first compress mode partly to compress described dot array page; When the element type of definite proportion maximum is graphic element, select the second compress mode partly to compress described dot array page; When the element type of definite proportion maximum is text element, select the 3rd compress mode partly to compress described dot array page; When the element type of definite proportion maximum is blank element, select the 4th compress mode partly to compress described dot array page; Wherein, various compress modes meet: the compression factor of the first compress mode is higher than the compression factor of the second compress mode, the compression factor of the second compress mode is higher than the compression factor of the 3rd compress mode, and the compression factor of the 3rd compress mode is higher than the compression factor of the 4th compress mode; Or the compression speed of the 4th compress mode is greater than the compression speed of the 3rd compress mode, the compression speed of the 3rd compress mode is greater than the compression speed of the second compress mode, and the compression speed of the second compress mode is greater than the compression speed of the first compress mode.
Except two kinds of above-mentioned modes, according to any one or multiple element type proportion in dot array page, determine the method for compress mode, all within protection scope of the present invention.
The dot array page obtaining due to compression can be subject to the restriction of storage size, and, when dot array page is compressed, the restriction that the compression efficiency that also can be predetermined requires, therefore when adopting above-mentioned two kinds of modes to select compress mode, also need to consider similar limiting factor.For this reason, can preset compression factor threshold value or compression speed threshold value, the compression factor that so just can stipulate the compress mode of follow-up selection must be greater than default compression factor threshold value, or the compression speed of the compress mode of selecting must be greater than default compression speed threshold value etc.
In addition, when pictorial element and the shared ratio of non-image element approach, such as the shared ratio of pictorial element in a dot array page part is 49%, but not the shared ratio of pictorial element is while being 51%, also can select the compress mode that compression factor is larger partly to compress dot array page, therefore, when selecting corresponding compress mode according to various element proportion values, also can preset proportion threshold value, such as, the proportion threshold value that pictorial element is set is 40%, when the ratio that accounts for whole dot array page part when pictorial element reaches 40%, select the larger compress mode of compression factor partly to compress this dot array page.
It should be noted that, in order to reach quickening compression speed, improve the object of compression efficiency, in the method provided by the invention, each dot array page that can obtain division is partly run simultaneously to compress and is processed.
Correspondingly, the embodiment of the present invention also provides a kind of dot array page compression set, in order to solve available technology adopting same compress mode, whole dot array page is compressed, can not alleviate well the problem of contradiction between compression factor and compression speed, the concrete structure schematic diagram of this device as shown in Figure 6, specifically comprises:
Division unit 61, for being divided into dot array page to be compressed at least two dot array page parts;
Determining unit 62, for dividing for division unit 61 each dot array page part obtaining, determines respectively the element type of proportion maximum in described dot array page part;
Selected cell 63, for according to the element type of the definite proportion maximum of determining unit 62, selects corresponding compress mode partly to compress described dot array page.
Wherein, when determining unit 62 employings are determined the element type of proportion maximum in each dot array page by statistical elements type identification value, as shown in Figure 6, described determining unit 62 specifically comprises:
Statistical module 621, for dividing for division unit 61 each dot array page part obtaining, add up respectively the number of every kind of element type ident value in each dot array page part, wherein element type ident value is that content of pages grating is being turned in the process of dot array page, is respectively the only element type identification value that the different element types in this dot array page are given respectively;
Determination module 622, for add up the number of the every kind of element type ident value obtaining according to statistical module 621, determines the element type of proportion maximum in each dot array page.
In statistical module 621, owing to being different element type allocation elements type identification values, and content of pages grating is turned in the process of dot array page similarly according to the process of describing in the process of the dot array page generting element type dot matrix of intermediate form and said method embodiment, therefore repeat no more.
Known by the above embodiments, adopt dot matrix image compression scheme provided by the invention, by dot array page to be compressed being divided into at least two dot array page parts; And each the dot array page part obtaining for division, determine the element type of proportion maximum in described dot array page part; And according to the element type of definite proportion maximum, select corresponding compress mode partly to compress described dot array page, can solve available technology adopting same compress mode whole dot array page is compressed, can not alleviate well the problem of contradiction between compression factor and compression speed.
In addition, due to conventionally in dot array page, the pixel with identical element type is all generally to concentrate to distribute, therefore, the present invention also provides another kind of dot array page compression method, without dot array page is divided, just can solve available technology adopting same compress mode whole dot array page is compressed, can not alleviate well the problem of contradiction between compression factor and compression speed.
The idiographic flow schematic diagram of the another kind of dot array page compression method that the embodiment of the present invention provides as shown in Figure 7, comprising:
Step 71, determines the element type comprising in dot array page to be compressed;
Step 72, according to definite result, selects different compress modes respectively the page at different element types place partly to be compressed.
Wherein, above-mentioned steps 72 can be, but not limited to adopt following two kinds of modes to realize:
First kind of way: all regard graphic element, text element and blank element as non-image element, like this, in dot array page, only comprise these two kinds of element types of pictorial element and non-image element, therefore, when the element type of definite proportion maximum is pictorial element, select the first compress mode partly to compress described dot array page; And when the element type of definite proportion maximum is non-image element, select the second compress mode partly to compress described dot array page; Wherein the compression factor of the first compress mode is higher than the compression factor of the second compress mode, or the compression speed of the second compress mode is greater than the compression speed of the first compress mode, such as, first compress mode here can be, but not limited to as distance of swimming compression algorithm, and the second compress mode can be, but not limited to the compression algorithm into ZLIB.
The second way: the element type of dot array page comprises pictorial element, graphic element, text element and blank element, when the element type of definite proportion maximum is pictorial element, select the first compress mode partly to compress described dot array page; When the element type of definite proportion maximum is graphic element, select the second compress mode partly to compress described dot array page; When the element type of definite proportion maximum is text element, select the 3rd compress mode partly to compress described dot array page; When the element type of definite proportion maximum is blank element, select the 4th compress mode partly to compress described dot array page; Wherein, various compress modes meet: the compression factor of the first compress mode is higher than the compression factor of the second compress mode, the compression factor of the second compress mode is higher than the compression factor of the 3rd compress mode, and the compression factor of the 3rd compress mode is higher than the compression factor of the 4th compress mode; Or the compression speed of the 4th compress mode is greater than the compression speed of the 3rd compress mode, the compression speed of the 3rd compress mode is greater than the compression speed of the second compress mode, and the compression speed of the second compress mode is greater than the compression speed of the first compress mode.
Except two kinds of above-mentioned modes, according to any one or multiple element type proportion in dot array page, determine the method for compress mode, all within protection scope of the present invention.
Correspondingly, the embodiment of the present invention also provides a kind of dot array page compression set, and its concrete structure schematic diagram as shown in Figure 8, comprising:
Determining unit 81, for the element type of determining that dot array page to be compressed comprises;
Selected cell 82, for according to definite result of determining unit 81, selects different compress modes respectively the page at different element types place partly to be compressed.
Wherein, selected cell 82 is selected different compress modes, and the process of respectively page at different element types place partly being compressed and the associated description of said method embodiment are similar, therefore repeat no more.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (9)

1. a dot array page compression method, is characterized in that, comprising:
Dot array page to be compressed is divided into at least two dot array page parts; And
Each dot array page obtaining for division is partly handled as follows:
In described dot array page part, add up respectively the number of every kind of element type ident value, the number of the every kind of element type ident value obtaining according to statistics, determine the element type of proportion maximum in described dot array page, wherein element type ident value is that content of pages grating is being turned in the process of dot array page, is respectively the element type ident value that the different element types in this dot array page are given respectively;
According to the element type of definite proportion maximum, select corresponding compress mode partly to compress described dot array page.
2. the method for claim 1, is characterized in that, described element type comprises pictorial element and non-image element; And
According to the element type of definite proportion maximum, select corresponding compress mode partly to compress described dot array page, specifically comprise:
When the element type of definite proportion maximum is pictorial element, select the first compress mode partly to compress described dot array page;
When the element type of definite proportion maximum is non-image element, select the second compress mode partly to compress described dot array page;
Wherein the compression factor of the first compress mode is higher than the compression factor of the second compress mode, or the compression speed of the second compress mode is greater than the compression speed of the first compress mode.
3. the method for claim 1, is characterized in that, described element type comprises pictorial element, graphic element, text element and blank element;
According to the element type of definite proportion maximum, select corresponding compress mode partly to compress described dot array page, specifically comprise:
When the element type of definite proportion maximum is pictorial element, select the first compress mode partly to compress described dot array page;
When the element type of definite proportion maximum is graphic element, select the second compress mode partly to compress described dot array page;
When the element type of definite proportion maximum is text element, select the 3rd compress mode partly to compress described dot array page;
When the element type of definite proportion maximum is blank element, select the 4th compress mode partly to compress described dot array page;
Wherein the compression factor of the first compress mode is higher than the compression factor of the second compress mode, and the compression factor of the second compress mode is higher than the compression factor of the 3rd compress mode, and the compression factor of the 3rd compress mode is higher than the compression factor of the 4th compress mode; Or
The compression speed of the 4th compress mode is greater than the compression speed of the 3rd compress mode, and the compression speed of the 3rd compress mode is greater than the compression speed of the second compress mode, and the compression speed of the second compress mode is greater than the compression speed of the first compress mode.
4. the method for claim 1, is characterized in that, synchronously to dividing each dot array page obtaining, partly processes.
5. a dot array page compression set, is characterized in that, comprising:
Division unit, for being divided into dot array page to be compressed at least two dot array page parts;
Determining unit, for divide each dot array page part obtaining for division unit, add up respectively the number of every kind of element type ident value, the number of the every kind of element type ident value obtaining according to statistics, determine the element type of proportion maximum in described dot array page, wherein element type ident value is that content of pages grating is being turned in the process of dot array page, is respectively the element type ident value that the different element types in this dot array page are given respectively;
Selected cell, for according to the element type of the definite proportion maximum of determining unit, selects corresponding compress mode partly to compress described dot array page.
6. a dot array page compression method, is characterized in that, comprising:
Determine the element type comprising in dot array page to be compressed, described element type comprises pictorial element and non-image element;
When the element type of definite proportion maximum is pictorial element, select the first compress mode partly to compress described dot array page; And when the element type of definite proportion maximum is non-image element, select the second compress mode partly to compress described dot array page,
Wherein the compression factor of the first compress mode is higher than the compression factor of the second compress mode, or the compression speed of the second compress mode is greater than the compression speed of the first compress mode.
7. a dot array page compression method, is characterized in that, comprising:
Determine the element type comprising in dot array page to be compressed, described element type comprises pictorial element, graphic element, text element and blank element; And
When the element type of definite proportion maximum is pictorial element, select the first compress mode partly to compress described dot array page; When the element type of definite proportion maximum is graphic element, select the second compress mode partly to compress described dot array page; When the element type of definite proportion maximum is text element, select the 3rd compress mode partly to compress described dot array page; When the element type of definite proportion maximum is blank element, select the 4th compress mode partly to compress described dot array page;
Wherein the compression factor of the first compress mode is higher than the compression factor of the second compress mode, and the compression factor of the second compress mode is higher than the compression factor of the 3rd compress mode, and the compression factor of the 3rd compress mode is higher than the compression factor of the 4th compress mode; Or the compression speed of the 4th compress mode is greater than the compression speed of the 3rd compress mode, the compression speed of the 3rd compress mode is greater than the compression speed of the second compress mode, and the compression speed of the second compress mode is greater than the compression speed of the first compress mode.
8. a dot array page compression set, is characterized in that, comprising:
Determining unit, for the element type of determining that dot array page to be compressed comprises, described element type comprises pictorial element and non-image element;
Selected cell, while being pictorial element for the element type of the proportion maximum definite, selects the first compress mode partly to compress described dot array page; And when the element type of definite proportion maximum is non-image element, select the second compress mode partly to compress described dot array page, wherein the compression factor of the first compress mode is higher than the compression factor of the second compress mode, or the compression speed of the second compress mode is greater than the compression speed of the first compress mode.
9. a dot array page compression set, is characterized in that, comprising:
Determining unit, for the element type of determining that dot array page to be compressed comprises, described element type comprises pictorial element, graphic element, text element and blank element;
Selected cell, while being pictorial element for the element type of definite proportion maximum, selects the first compress mode partly to compress described dot array page; When the element type of definite proportion maximum is graphic element, select the second compress mode partly to compress described dot array page; When the element type of definite proportion maximum is text element, select the 3rd compress mode partly to compress described dot array page; When the element type of definite proportion maximum is blank element, select the 4th compress mode partly to compress described dot array page; Wherein the compression factor of the first compress mode is higher than the compression factor of the second compress mode, and the compression factor of the second compress mode is higher than the compression factor of the 3rd compress mode, and the compression factor of the 3rd compress mode is higher than the compression factor of the 4th compress mode; Or the compression speed of the 4th compress mode is greater than the compression speed of the 3rd compress mode, the compression speed of the 3rd compress mode is greater than the compression speed of the second compress mode, and the compression speed of the second compress mode is greater than the compression speed of the first compress mode.
CN201210029902.9A 2008-09-26 2008-09-26 Compression method and device for latticed page Expired - Fee Related CN102572203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210029902.9A CN102572203B (en) 2008-09-26 2008-09-26 Compression method and device for latticed page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210029902.9A CN102572203B (en) 2008-09-26 2008-09-26 Compression method and device for latticed page

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CNA2008102233621A Division CN101394461A (en) 2008-09-26 2008-09-26 Dot array page compression method and apparatus thereof

Publications (2)

Publication Number Publication Date
CN102572203A CN102572203A (en) 2012-07-11
CN102572203B true CN102572203B (en) 2014-08-06

Family

ID=46416600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210029902.9A Expired - Fee Related CN102572203B (en) 2008-09-26 2008-09-26 Compression method and device for latticed page

Country Status (1)

Country Link
CN (1) CN102572203B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015005835A (en) * 2013-06-19 2015-01-08 シャープ株式会社 Image processing device, image forming device, and recording medium
CN104427203B (en) * 2013-08-29 2018-04-27 北大方正集团有限公司 Page dot matrix self-adapting compressing, restoring method and device
CN107820097A (en) * 2017-10-11 2018-03-20 惠科股份有限公司 A kind of picture storage method and display panel

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5267333A (en) * 1989-02-28 1993-11-30 Sharp Kabushiki Kaisha Image compressing apparatus and image coding synthesizing method
US5959867A (en) * 1996-09-24 1999-09-28 Splash Technology, Inc. Computer system and process for efficient processing of a page description using a display list
EP1605348A2 (en) * 2004-06-10 2005-12-14 Canon Kabushiki Kaisha Image processing apparatus control method therefor and program
CN1928852A (en) * 2006-09-27 2007-03-14 北京大学 Grating treatment method and device for transparent page

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5267333A (en) * 1989-02-28 1993-11-30 Sharp Kabushiki Kaisha Image compressing apparatus and image coding synthesizing method
US5959867A (en) * 1996-09-24 1999-09-28 Splash Technology, Inc. Computer system and process for efficient processing of a page description using a display list
EP1605348A2 (en) * 2004-06-10 2005-12-14 Canon Kabushiki Kaisha Image processing apparatus control method therefor and program
CN1928852A (en) * 2006-09-27 2007-03-14 北京大学 Grating treatment method and device for transparent page

Also Published As

Publication number Publication date
CN102572203A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
US8659793B2 (en) Image processing apparatus and image processing method
EP0834154B1 (en) Method and apparatus for reducing storage requirements for display data
US8368969B2 (en) Methods and devices for rasterizing transparent pages
US6020897A (en) Dehalftoning of digital images
JP4155322B2 (en) Image processing apparatus, image processing method, and image processing program
US8830506B2 (en) Image processing system utilizing plural parallel processors and image processing method utilizing plural parallel processors
US8243322B2 (en) Image data processor and image data processing program storage medium for variable printing
JP4375449B2 (en) Image processing apparatus, image processing program, and image processing method
CN102572203B (en) Compression method and device for latticed page
US9471857B2 (en) Overcoat processing mechanism
CN101394461A (en) Dot array page compression method and apparatus thereof
US7170628B2 (en) Efficient processing of images in printers
CN101365043B (en) Spot array stage pixel point color calibrating method and device
US20040246510A1 (en) Methods and systems for use of a gradient operator
US20130128307A1 (en) Printing device and printing method of printing device
CN102096903B (en) Page rasterized character smooth processing method and system
CN110097147B (en) Method and system for setting primitive drawing attribute, computer equipment and storage medium
US8749813B2 (en) Methods, devices and systems for encoding graphical primitives
US20120236332A1 (en) Information processing apparatus, information processing method, and recording medium for storing programs
US8971621B2 (en) Toner limit processing mechanism
US7324229B2 (en) Rendering in a printer using bands
US20130169983A1 (en) Method and Apparatus for Rasterizing Transparent Page
JP4711008B2 (en) Image data processing apparatus and image forming apparatus
JP2010152597A (en) Printer driver, and print control method thereof
JP2017212601A (en) Image processing device, image processing method, program, and data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140806

Termination date: 20190926

CF01 Termination of patent right due to non-payment of annual fee