Cigarette case graphic element self-adaptive combined printing method and system
Through the adaptive combination of graphic elements printing method, the low design efficiency problem caused by changes in cigarette boxes in the prior art is solved, and the rapid design and matching of cigarette boxes of different specifications and grades is achieved, thereby improving the efficiency of printing graphics generation.
Patent Information
- Application Number
- CN202411838169.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-01-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing cigarette box printing technology requires designing a specific set of graphic elements according to each specification, resulting in a large amount of workload for design and modification, and the size and position of graphic elements need to be manually adjusted when specifications change, which is inefficient.
Adaptive combination printing method of graphic elements is used to create a graphic element library, define the target area, parameters and element levels, read the cigarette box paper size, select matching graphic elements, and generate matching graphic images based on the size and proportion for printing.
The efficiency of cigarette box packaging design and modification is improved, and the cumbersome operation of manually adjusting the size and position of graphic elements is avoided, and the rapid design and matching of cigarette boxes and grade cigarette packaging is achieved.
Smart Images

Figure CN119295596A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of graphic processing technology in the printing industry, and in particular to a method and system for adaptively combining and printing graphic elements of cigarette boxes. Background Art
[0002] Cigarette boxes are a common type of packaging. In the printing of cigarette boxes, especially the printing of hard-pack cigarette boxes, cigarette boxes of the same brand are often packaged in boxes of different specifications according to differences in factors such as the grade and taste of the cigarettes loaded. Cigarette boxes of different specifications have different lengths, widths and thicknesses. These cigarette boxes of different specifications often have similar design styles, that is, the main graphic elements such as background color, pattern and character content are similar, and only have different graphic elements due to different specifications, such as different patterns and character sizes, or different pattern textures, laser marks and other elements due to different cigarette grades.
[0003] The existing cigarette boxes of this type need to design a set of specific printed graphics according to each specification. When new specifications are added, the corresponding design graphics need to be added. When a certain graphic element is changed, multiple design graphics need to be changed accordingly. From packaging design to modification, there is a large workload. Summary of the invention
[0004] In a first aspect, an embodiment of the present application provides a method for adaptively combining and printing cigarette box graphic elements, which changes the existing set of printed graphics corresponding to each specification and effectively improves the efficiency of cigarette box packaging design and modification.
[0005] In order to solve the above problem, the method comprises the steps of: Create graphic elements; Establishing a graphic element library, defining a target area, parameters and element levels of the graphic elements in the graphic element library; Reading the cigarette box paper material to be printed, and obtaining the size of the area to be printed on the cigarette box paper material; Selecting a graphic element to be used from the graphic element library; Generating a matching graphic having a size and proportion matching that of the cigarette box paper material according to the target area of the graphic element, the element level and the size of the area to be printed; The matching graphics are sent to a target device for printing.
[0006] Due to the adoption of the above method, after the graphic elements of the same type of cigarette box design are created, they can be easily matched with the printing of cigarette boxes of different lengths, widths and thicknesses. Through different combinations of graphic elements, cigarette box packaging for different grades of cigarettes can be quickly designed and matched, avoiding the tedious operation of manually adjusting the size and position of each graphic element according to different specifications of cigarette boxes to form multiple sets of separate printing designs, thereby improving the efficiency of generating printed graphics.
[0007] In a possible implementation, the graphic element includes a printed graphic element, or a printed graphic element and a processed graphic element; The printed graphic elements include one or more of a main graphic, a logo graphic, a character, a shading, and an identification code; The processed graphic elements include one or more of embossing, hot stamping, and laser marking.
[0008] In a possible implementation, the parameters include element size data.
[0009] In a possible implementation, the reading of the cigarette box paper material to be printed and obtaining the size of the area to be printed on the cigarette box paper material includes: Performing optical imaging on the cigarette box paper material to obtain the outer contour and crease lines of the cigarette box paper material; According to the outer contour and the crease lines, a plurality of to-be-printed areas divided by the crease lines are obtained; marking the multiple areas to be printed; Measure the dimensions of each area to be printed.
[0010] In a possible implementation, generating a matching graphic having a size and proportion matching that of the cigarette box paper material according to the target area of the graphic element, the element level, and the size of the area to be printed includes: Generating a rectangular blank image according to the cigarette box paper material, wherein the rectangular blank image has a plurality of to-be-printed areas divided by the crease lines; Adjust the size of the graphic element according to the target area size of the graphic element to generate a matching graphic element; The matching graphic elements are placed on the to-be-printed area according to the element hierarchy to generate a matching graphic.
[0011] In a possible implementation, generating a rectangular blank image according to the cigarette box paper material includes: A rectangular frame formed by the outer contour edge line of the cigarette box paper material and / or the extension line of the edge line; The rectangular blank photo is generated according to the length and width data of the rectangular edge.
[0012] In a possible implementation manner, adjusting the size of the graphic element according to the size of the target area of the graphic element includes: Setting a size ratio between the size of the graphic element and the size of the corresponding target area; Obtaining the size of the target area; The size of the graphic element is adjusted according to the target area size and the size ratio.
[0013] In a possible implementation, placing the matching graphic element on the to-be-printed area according to the element hierarchy includes: Setting the element layout anchor point of the to-be-printed area; Obtaining the center point coordinates of the matching graphic element; Align the center point coordinates of the matching graphic element with the element layout anchor point.
[0014] In a possible implementation manner, aligning the center point coordinates of the matching graphic element with the element layout anchor point includes: Make the center point coordinates of the matching graphic element coincide with the element layout anchor point, or The center point coordinates of the matching graphic element are kept at a preset distance or distance ratio with the element layout anchor point.
[0015] The present application also provides a cigarette box graphic element adaptive combination printing system, the system comprising: A graphics creation module, used to create graphic elements; A graphic element library, which performs data interaction with the graphic creation module, stores the graphic elements created by the graphic creation module, and defines the target area, parameters and element level of the graphic elements; A cigarette box paper material data acquisition module, used to read the cigarette box paper material to be printed and obtain the size of the area to be printed on the cigarette box paper material; A matching graphic creation module performs data interaction with the graphic element library and the cigarette box paper material data acquisition module, selects a graphic element to be used from the graphic element library; generates a matching graphic having a size and proportion matching the cigarette box paper material according to the target area, element level and size of the area to be printed of the graphic element; The printing module exchanges data with the matching pattern creation module and performs printing processing on the matching pattern. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a flow chart of the first embodiment; Figure 2 is a further flow chart of step S3 of the first embodiment; Figure 3 is a further flow chart of step S5 of the first embodiment; Figure 4 is a further flowchart of step S51 of the first embodiment; Figure 5 is a further flowchart of step S53 of the first embodiment; Figure 6 FIG. 4 is a schematic diagram of the module structure of the second embodiment. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be described in detail by way of implementation methods with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0018] In order to fully disclose the technical solutions, usage scenarios and technical effects of the embodiments of the present application, the technology of cigarette box printing is described before describing the technical solutions. Cigarette box printing is a type of packaging printing. In order to clearly distinguish their own products, each cigarette factory has a set of packaging designs with obvious styles for a brand of cigarettes on the Internet. The cigarette box is generally printed with background color, brand name, logo pattern and other graphic elements. At the same time, due to the requirements of laws and regulations, it is also necessary to print "smoking is harmful to health", "prohibited from selling to minors", manufacturer name, tar content, nicotine content and other text elements. Some also need to print QR codes and / or barcodes and other logos, or according to different grades of cigarettes, based on the above elements, it is also necessary to design gold stamping logos, laser anti-counterfeiting logos, convex and concave imprint logos, etc. on the product packaging. It has the characteristics of many types of graphic elements and different contents.
[0019] At the same time, under the premise of having a packaging design of the same style, a brand of cigarettes, based on product positioning, often also includes standard cigarettes, short cigarettes, and slender cigarettes based on similar designs, which need to match cigarette boxes of different specifications accordingly. Then, as cigarette boxes of the same brand, many different specifications are often required, including printed graphics of different elements. At the same time, the actual size of the same element on cigarette boxes of different specifications must also change accordingly. Therefore, the existing cigarette box printing needs to establish elements of various specifications in image processing software, and when designing the printed graphics, various elements of sizes corresponding to the size of the cigarette box are retrieved for matching, and their positions are adjusted to generate multiple printed graphics for printing cigarette boxes; or elements of the same specification are uniformly generated, and their sizes and positions are adjusted when designing the printed graphics. These two methods are labor-intensive and inefficient, and considering the irregular updates and iterations of packaging styles, this situation is further aggravated.
[0020] The embodiments of the present application are mainly aimed at the above situation, and propose a method that can adaptively adapt and position graphic elements according to the specifications of cigarette boxes.
[0021] The image processing method provided in the embodiment of the present application can be executed by an image processing device, which can be integrated into any electronic device with image processing capabilities by means of software and / or hardware. The image processing capabilities include reading, writing, storing, displaying, and editing images, and having the ability to communicate data and instructions with a printing device. The electronic device can be, for example, any one of a mobile phone, a computer, a cloud system, an industrial computer for a printing device, and the like.
[0022] like Figure 1 As shown, the first embodiment of the present application provides a method for adaptive combination printing of graphic elements on a cigarette box, the method comprising the steps of: S1. Create graphic elements; S2. Establishing a graphic element library, defining the target area, parameters and element level of the graphic element in the graphic element library; S3. Read the cigarette box paper to be printed, and obtain the size of the area to be printed on the cigarette box paper; S4. Selecting a graphic element to be used from the graphic element library; S5. Generate a matching graphic having a size and proportion matching that of the cigarette box paper material according to the target area of the graphic element, the element level and the size of the area to be printed; S6. Send the matching pattern to a target device for printing.
[0023] Wherein, in step S1, creating a graphic element means creating a graphic element in the implementation environment of the present method, including creating a new graphic element and calling an existing graphic element.
[0024] The graphic elements in this embodiment include printed graphic elements, or printed graphic elements and processed graphic elements; The printed graphic elements are graphic elements printed on the paper material of the cigarette box, including one or more of the main graphic, logo graphic, characters, shading, and identification code; the main graphic is the background color of the cigarette box, the logo graphic is generally the brand logo, the characters include various types of identification characters or product names and Chinese and English names of trademarks, the shading is a texture located on the background color for decorative purposes, and the identification code includes a product barcode and / or a QR code. Generally speaking, the above-mentioned various graphic elements can be printed on the surface of the cigarette box at one time after being arranged and superimposed.
[0025] The processed graphic elements are applied to the cigarette box paper material through other processing forms, including one or more of embossing, hot stamping, and laser marking.
[0026] Generally speaking, cigarette box paper must include printed graphic elements. When it includes processed graphic elements, the processed graphic elements are located on the surface of the printed graphic elements.
[0027] Due to the adoption of the above method, after the graphic elements of the same type of cigarette box design are created, they can be easily matched with the printing of cigarette boxes of different lengths, widths and thicknesses. Through different combinations of graphic elements, cigarette box packaging for different grades of cigarettes can be quickly designed and matched, avoiding the tedious operation of manually adjusting the size and position of each graphic element according to different specifications of cigarette boxes to form multiple sets of separate printing designs, thereby improving the efficiency of generating printed graphics.
[0028] Step S2: After the graphic element library is established, the graphic elements created in step S1 are imported, and the attributes of each graphic element are defined. The attributes of a graphic element generally include the target area, parameters, and element level of the graphic element.
[0029] Since each graphic element generally has its own specific printing area, the main graphic as the background color is generally applicable to all surfaces, and the brand logo is generally printed on the front and back of the cigarette box. Therefore, defining the printing area can avoid misoperation on the one hand, and further match the size of the corresponding printing area on the other hand.
[0030] The parameters of the graphic element include element size data, which is the original size of the graphic element and is mainly used as a reference parameter for size matching in subsequent steps.
[0031] The element level indicates the order of the element when the graphics are superimposed. Generally speaking, the main graphic is the bottom layer as the background color, and the other elements are all above the main graphic. If there is a shading, the shading is on the second layer, above the main graphic. If there is no other superposition relationship, the subsequent elements are on the third layer, above the shading, and so on. After setting the element level, you can call the graphic elements without considering the order of calling. You can directly call the required graphic elements to automatically arrange the stacking order.
[0032] After the graphic element library is established, step S3 is performed to read the cigarette box paper material to be printed and obtain the size of the area to be printed on the cigarette box paper material.
[0033] There are two situations in printing on cigarette box paper materials, one is printing on cigarette boxes of existing sizes and specifications, and the other is printing on cigarette box paper materials of newly added specifications. Both printing methods require obtaining the size of the area to be printed.
[0034] In order to make the method of this embodiment applicable to the printing of existing multi-specification cigarette boxes and the updating of existing designs, the object of size processing of the cigarette box graphics is the cigarette box paper. For the design of cigarette box paper with newly added specifications, in order to maintain the consistency of the software processing process, a cigarette box model of the newly added specifications can be made first, and the size of the area to be printed of the cigarette box paper with the newly added specifications can be obtained from the cigarette box model.
[0035] like Figure 2 As shown, the specific dimensions of the area to be printed on the cigarette box paper include: S31. Optically imaging the cigarette box paper to obtain the outer contour and crease lines of the cigarette box paper; S32. Acquire a plurality of to-be-printed areas divided by the crease lines according to the outer contour and the crease lines; S33. Marking the plurality of areas to be printed; S34. Measure the size of each area to be printed.
[0036] Optical imaging and size acquisition mainly use optical imaging to obtain the edge of cigarette box paper. If necessary, the collected original image is preprocessed, including noise removal, image enhancement and filtering. Such operations can improve the clarity and contrast of the image and provide data processing objects for subsequent feature extraction and information analysis.
[0037] Since existing printing equipment for paper substrates is mainly based on flat printing, the cigarette box paper material described in the embodiments of the present application is the unfolded cigarette box paper material.
[0038] After acquiring the optical image of the cigarette box paper, feature information in the image is extracted through edge detection and region segmentation. Such feature information generally includes the outline, edge and key points of the object. In this embodiment, in addition to extracting the edge features of the cigarette box paper, crease lines are also extracted. The optical image of the cigarette box paper is segmented into multiple areas to be printed through crease lines.
[0039] After obtaining multiple areas to be printed, the extracted feature information is measured using image processing algorithms and methods. This can be achieved by calculating the length of the contour. Since the cigarette box paper is flat after unfolding, the commonly used size measurement methods for flat objects include pixel method, scale method and template matching method.
[0040] After obtaining the size of the to-be-printed area of the cigarette box paper, step S5 is required to generate a matching graphic having a size and proportion matching the cigarette box paper according to the target area of the graphic element, the element level and the size of the to-be-printed area.
[0041] The main purpose of this step is to match the size of the graphic element with the target area.
[0042] Specifically, Figure 3 As shown, generating a matching graphic having a size and proportion matching the cigarette box paper material according to the target area of the graphic element, the element level and the size of the area to be printed includes: S51. Generating a rectangular blank image according to the cigarette box paper material, wherein the rectangular blank image has a plurality of to-be-printed areas divided by the crease lines; S52. Adjust the size of the graphic element according to the target area size of the graphic element to generate a matching graphic element; S53. Placing the matching graphic elements on the to-be-printed area according to the element hierarchy to generate a matching graphic.
[0043] In the above processing process, when executing the above step S51, since the existing cigarette boxes are divided into soft cigarette boxes and hard cigarette boxes, the soft box is a rectangular paper after being unfolded, so the edge of the cigarette box paper obtained in step S3 is a rectangle, and in step S51, a rectangular blank image is generated according to the cigarette box paper. A rectangular blank image with the same size as the unfolded rectangular paper can be generated, but the hard box paper is an irregular shape after being unfolded. The irregular shape cannot be generated when the software is generated. Therefore, in order to adapt to the graphic processing of the irregular shape of the unfolded hard cigarette box, in this embodiment, as shown in FIG. Figure 4 As shown, the step S51 of generating a rectangular blank image according to the cigarette box paper material includes: S511. A rectangular frame formed according to the outer contour edge line of the cigarette box paper material and / or the extension line of the edge line; S512. Generate the rectangular blank photo according to the length and width data of the rectangular edge.
[0044] When the size of the graphic element is adjusted in step S52, the graphic element needs to be scaled, and when the graphic element is placed in step S53, the graphic element needs to be displaced. In order to automatically perform the scaling and displacement of the graphic element, when the scaling of the graphic element is performed, since the graphic element only changes the size of the graphic but does not change the aspect ratio of the graphic in the cigarette box printing design, the size of the graphic element is adjusted according to the target area size of the graphic element, including: Setting a size ratio between the size of the graphic element and the size of the corresponding target area; Obtaining the size of the target area; The size of the graphic element is adjusted according to the target area size and the size ratio.
[0045] The scaling of the above graphic elements can be performed based on the OpenCV library, where image scaling can be done by setting the scaling factor, cv2.resize() or image.resize() can change the size of the image; image displacement can be done by creating an affine transformation matrix (warpAffine or transform) and specifying the horizontal and vertical translation amounts (tx, ty) to translate the image.
[0046] The following is a code example based on Python to call the OpenCV library: import cv2 import numpy as np # Read the image image = cv2.imread('input_image.jpg') # Image scaling scale_factor = 0.5 # Set the scaling factor width = int(image.shape[1]*scale_factor) height = int(image.shape[0]*scale_factor) resized_image = cv2.resize(image,(width,height)) # Image displacement tx, ty = 50,30 # Set horizontal and vertical displacement M = np.float32([[1,0,tx], [0,1,ty]]) # displacement matrix moved_image=cv2.warpAffine(resized_image,M,(resized_image.shape[1],resized_image.shape[0])) # Display the image cv2.imshow('Resized and Moved Image', moved_image) cv2.waitKey(0) cv2.destroyAllWindows() # Save the processed image cv2.imwrite('output_image.jpg', moved_image) By setting the program parameters, the corresponding graphic elements can be automatically resized and placed on the specified coordinates according to the size of the target area and the specified position, avoiding errors caused by human operation.
[0047] The displacement of the graphic elements in the above example is performed by setting the displacement amount, which can be the distance between the preset placement point and the two vertical edges of the target area. When the graphic elements are called out from the library on the interface, the graphic elements can be placed to fit the two vertical edges of the target area, and the program will automatically place them in the specified area.
[0048] In addition, you can also place graphic elements by anchoring them, such as Figure 5 As shown, placing the matching graphic element on the to-be-printed area according to the element level includes: S531. Setting the element layout anchor point of the area to be printed; S532. Obtain the center point coordinates of the matching graphic element; S533. Align the center point coordinates of the matching graphic element with the element layout anchor point.
[0049] The element layout anchor point of the area to be printed as described in step S531 is obtained when the optical imaging of the cigarette box paper is obtained. In addition to the edges and crease lines obtained as described above, the existing graphic elements on each area to be printed are also obtained. When performing optical imaging processing, the center of the existing graphic elements on each area to be printed is used as the element layout anchor point of the target area where the graphic element is located.
[0050] The coordinates of the center point of the matching graphic element in step S532 can be obtained by calculating the target size after the graphic element is scaled and the target size is obtained.
[0051] import cv2 import numpy as np # Read two images image1 = cv2.imread('image1.jpg') image2 = cv2.imread('image2.jpg') # Calculate the center point of the two images center1=(image1.shape[1] / / 2, image1.shape[0] / / 2) center2=(image2.shape[1] / / 2, image2.shape[0] / / 2) # Calculate the amount of displacement required tx = center1[0] - center2[0] # horizontal displacement ty = center1[1] - center2[1] # vertical displacement # Create the translation matrix M = np.float32([[1,0,tx], [0,1,ty]]) # Translate the second image so that its center is aligned with the first image moved_image2 = cv2.warpAffine(image2, M, (image2.shape[1],image2.shape[0])) # Merge the two translated images result=cv2.addWeighted(image1, 0.5, moved_image2,0.5,0) # Display the merged image cv2.imshow('Aligned Image', result) cv2.waitKey(0) cv2.destroyAllWindows() # Save the result image cv2.imwrite('aligned_image.jpg',result) The anchor point alignment in the above example is actually the coincidence of the anchor point in the target area with the center point of the graphic element. In actual applications, aligning the center point coordinates of the matching graphic element with the element layout anchor point can also make the center point coordinates of the matching graphic element maintain a preset distance or distance ratio with the element layout anchor point. When there are multiple graphic elements in the same target area, the preset distance or distance ratio can be used to maintain the relative position relationship between the multiple graphic elements to better layout the graphic elements.
[0052] The second embodiment of the present application provides a cigarette box graphic element adaptive combination printing system, such as Figure 6 As shown, the system includes: Graphic creation module 1, used for creating graphic elements; A graphic element library 2, which performs data interaction with the graphic creation module, stores the graphic elements created by the graphic creation module, and defines the target area, parameters and element level of the graphic elements; The cigarette box paper material data acquisition module 3 is used to read the cigarette box paper material to be printed and obtain the size of the area to be printed on the cigarette box paper material; The matching graphic creation module 4 interacts with the graphic element library and the cigarette box paper material data acquisition module to select a graphic element to be used from the graphic element library; generates a matching graphic having a size and proportion that matches the cigarette box paper material according to the target area, element level and size of the area to be printed of the graphic element; The printing module 5 exchanges data with the matching pattern creation module to print the matching pattern.
[0053] The cigarette box graphic element adaptive combination printing system of the second embodiment executes the cigarette box graphic element adaptive combination printing method of the first embodiment.
[0054] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for adaptively combining and printing graphic elements of cigarette boxes, characterized in that: Includes steps: Create graphic elements; Establishing a graphic element library, defining a target area, parameters and element levels of the graphic elements in the graphic element library; Reading the cigarette box paper material to be printed, and obtaining the size of the area to be printed on the cigarette box paper material; Selecting a graphic element to be used from the graphic element library; Generating a matching graphic having a size and proportion matching that of the cigarette box paper material according to the target area of the graphic element, the element level and the size of the area to be printed; The matching graphics are sent to a target device for printing.
2. The method for self-adaptive combination printing of graphic elements on cigarette boxes according to claim 1, characterized in that: The graphic elements include printed graphic elements, or printed graphic elements and processed graphic elements; The printed graphic elements include one or more of a main graphic, a logo graphic, a character, a shading, and an identification code; The processed graphic elements include one or more of embossing, hot stamping, and laser marking.
3. The method for self-adaptive combination printing of graphic elements on cigarette boxes according to claim 1, characterized in that: The parameters include element size data.
4. The method for self-adaptive combination printing of graphic elements on cigarette boxes according to any one of claims 1 to 3, characterized in that: The step of reading the cigarette box paper material to be printed and obtaining the size of the area to be printed on the cigarette box paper material comprises: Performing optical imaging on the cigarette box paper material to obtain the outer contour and crease lines of the cigarette box paper material; According to the outer contour and the crease lines, a plurality of to-be-printed areas divided by the crease lines are obtained; marking the multiple areas to be printed; Measure the dimensions of each area to be printed.
5. The method for self-adaptive combination printing of graphic elements on cigarette boxes according to claim 4, characterized in that: Generating a matching graphic having a size and proportion matching that of the cigarette box paper material according to the target area of the graphic element, the element level and the size of the area to be printed includes: Generating a rectangular blank image according to the cigarette box paper material, wherein the rectangular blank image has a plurality of to-be-printed areas divided by the crease lines; Adjust the size of the graphic element according to the target area size of the graphic element to generate a matching graphic element; The matching graphic elements are placed on the to-be-printed area according to the element hierarchy to generate a matching graphic.
6. The method for self-adaptive combination printing of graphic elements on cigarette boxes according to claim 5, characterized in that: The generating a rectangular blank picture according to the cigarette box paper material comprises: A rectangular frame formed by the outer contour edge line of the cigarette box paper material and / or the extension line of the edge line; The rectangular blank photo is generated according to the length and width data of the rectangular edge.
7. The method for self-adaptive combination printing of graphic elements on cigarette boxes according to claim 6, characterized in that: The adjusting the size of the graphic element according to the target area size of the graphic element comprises: Setting a size ratio between the size of the graphic element and the size of the corresponding target area; Obtaining the size of the target area; The size of the graphic element is adjusted according to the target area size and the size ratio.
8. The method for self-adaptive combination printing of graphic elements on cigarette boxes according to claim 7, characterized in that: Placing the matching graphic element on the to-be-printed area according to the element hierarchy comprises: Setting the element layout anchor point of the to-be-printed area; Obtaining the center point coordinates of the matching graphic element; Align the center point coordinates of the matching graphic element with the element layout anchor point.
9. The method for self-adaptive combination printing of graphic elements on cigarette boxes according to claim 8, characterized in that: The aligning the center point coordinates of the matching graphic element with the element layout anchor point comprises: Make the center point coordinates of the matching graphic element coincide with the element layout anchor point, or The center point coordinates of the matching graphic element are kept at a preset distance or distance ratio with the element layout anchor point.
10. An adaptive combined printing system for cigarette box graphic elements, the system comprising: A graphics creation module, used to create graphic elements; A graphic element library, which performs data interaction with the graphic creation module, stores the graphic elements created by the graphic creation module, and defines the target area, parameters and element level of the graphic elements; A cigarette box paper material data acquisition module, used to read the cigarette box paper material to be printed and obtain the size of the area to be printed on the cigarette box paper material; A matching graphic creation module performs data interaction with the graphic element library and the cigarette box paper material data acquisition module, selects a graphic element to be used from the graphic element library; generates a matching graphic having a size and proportion matching the cigarette box paper material according to the target area, element level and size of the area to be printed of the graphic element; The printing module exchanges data with the matching pattern creation module and performs printing processing on the matching pattern.
Citation Information
Patent Citations
Automatic packaging box printing device and application method
CN108163447A
Method of and system for generating and viewing a 3D visualization of an object having printed features
CN112470194A
Cigarette packaging box pattern generation method and device, electronic equipment and storage medium
CN117313185A
Accurate printing method for packaging paper
CN117807646A
Positioning identification system for printing anti-counterfeit label
CN118691785A