[go: up one dir, main page]

CN1062362C - Dynamic linking method for computer image - Google Patents

Dynamic linking method for computer image Download PDF

Info

Publication number
CN1062362C
CN1062362C CN97110365A CN97110365A CN1062362C CN 1062362 C CN1062362 C CN 1062362C CN 97110365 A CN97110365 A CN 97110365A CN 97110365 A CN97110365 A CN 97110365A CN 1062362 C CN1062362 C CN 1062362C
Authority
CN
China
Prior art keywords
file
image
bitmap
source
width
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
CN97110365A
Other languages
Chinese (zh)
Other versions
CN1196544A (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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN97110365A priority Critical patent/CN1062362C/en
Publication of CN1196544A publication Critical patent/CN1196544A/en
Application granted granted Critical
Publication of CN1062362C publication Critical patent/CN1062362C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种计算机图像的动态连结方法,其包含利用计算机将载入各存储器位址的一张以上的设备无关位图文件,予以剪裁,再将这些经剪裁后的图像复制到一新创文件的存储器位址中,待这些来源位图文件的信息完全被复制到该创建文件后,即自动将这些来源位图文件所占据的存储器空间,予以释放,由于使用者无需就这些来源位图文件进行反复开、并档动作,故,不仅可有效增加使用者的操作速度,且可有效节省存储器空间,使大幅度地提高存储器的利用效益及图像处理速度。

A method for dynamically linking computer images includes using a computer to crop one or more device-independent bitmap files loaded into each memory address, and then copying these cropped images to the memory address of a newly created file. After the information of these source bitmap files is completely copied to the created file, the memory space occupied by these source bitmap files is automatically released. Since the user does not need to repeatedly open and merge these source bitmap files, it can not only effectively increase the user's operating speed, but also effectively save memory space, thereby greatly improving the memory utilization efficiency and image processing speed.

Description

一种计算机图像的动态连结方法A Dynamic Connection Method of Computer Image

本发明涉及一种计算机图像的动态连结方法,特别是涉及一种经剪裁后进行图像编辑的图像动态连结的方法。The present invention relates to a method for dynamic connection of computer images, in particular to a method for dynamic connection of images edited after clipping.

一般常用的图像处理软件在进行图像编辑处理时,必需先通过计算机将各来源位图文件载入计算机存储器的不同位址中,使用者即针对这些来源位图文件中的图像进行编辑处理,此时,由于各来源位图文件必须占据且存在于计算机存储器的不同位址中,使使用者进行编辑处理时,能随时利用其中的图像,倘来源位图文件的数量庞大(如:4或5个以上的来源位图文件),则这些来源位图文件将占据相当大的计算机存储器空间,如此,极易造成用以编辑新位图文件的存储器空间不足,使图像编辑处理的速度减缓,尤其是,使用者将可能在编辑过程中面临无法继续进行编辑处理的困境,而必须藉助关闭这些来源位图文件,以誊出存储器空间,因此造成使用者在操作上极大的不便,此外,针对这些来源位图文件反复开、关档案的动作也导致其作业效率不佳。Commonly used image processing software must first load the source bitmap files into different addresses of the computer memory through the computer when performing image editing, and the user will edit the images in these source bitmap files. At the same time, because each source bitmap file must occupy and exist in different addresses of the computer memory, the image in it can be used at any time when the user performs editing processing. If the number of source bitmap files is huge (such as: 4 or 5 source bitmap files), these source bitmap files will occupy a considerable computer memory space, so it is easy to cause insufficient memory space for editing new bitmap files, slowing down the speed of image editing processing, especially in particular Yes, the user may face the dilemma of being unable to continue editing during the editing process, and must rely on closing these source bitmap files to copy out the memory space, which causes great inconvenience to the user in operation. In addition, for The repeated opening and closing of these source bitmap files also leads to poor operating efficiency.

本发明的目的是针对前述传统图像软件在进行图像编辑处理时,所衍生的诸多缺点,提供一种计算机图像的动态连结方法,以便通过本发明能有效增加使用者在进行图像处理时的操作速度,且可有效节省存储器空间,大幅提高存储器的利用效益。The purpose of the present invention is to provide a method for dynamically linking computer images to address the shortcomings of the aforementioned traditional image software when performing image editing and processing, so that the present invention can effectively increase the user's operation speed when performing image processing , and can effectively save memory space, greatly improving the utilization efficiency of the memory.

为达到本发明的主要目的,本发明的解决方案是利用计算机针对载入各存储器位址中的一张以上的设备无关位图(DEVICE INDEPENDENTBITMAP,以下简称位图)文件,进行剪裁,再将这些经剪裁后的位图复制到一新的存储器位址的创建文件中,待这些来源位图的信息完全被复制到该创建文件后,即可显示图像,其包括如下步骤:In order to achieve the main purpose of the present invention, the solution of the present invention is to utilize computer to cut out more than one device-independent bitmap (DEVICE INDEPENDENTBITMAP, hereinafter referred to as bitmap) file loaded in each memory address, and then these The clipped bitmap is copied to a new memory address creation file, and after the information of these source bitmaps is completely copied to the creation file, the image can be displayed, which includes the following steps:

(1)首先,通过计算机自存储装置开启一设备无关位图文件,并将该来源文件载入存储器,而得到该来源文件的存储器位址;(1) First, a device-independent bitmap file is opened from the storage device by a computer, and the source file is loaded into the memory to obtain the memory address of the source file;

(2)其次,计算机将创建一新的文件到一新存储器位址,并将来源文件的文件表头复制到该创建文件的新的存储器位址,并根据参量值剪裁所复制的图像,包括图像的宽度、高度及图像的大小等信息;(2) Next, the computer will create a new file to a new memory address, and copy the file header of the source file to the new memory address of the created file, and clip the copied image according to the parameter value, including Image width, height and image size and other information;

(3)将该来源文件的图像数据,依其参量值的要求,逐一复制到该创建文件中,直到全部复制完成;(3) Copy the image data of the source file into the creation file one by one according to the requirements of its parameter values until all the copying is completed;

(4)剪裁完毕后,即返回创建位图文件的起始位址,如此,即完成一次剪裁操作;(4) After the trimming is completed, promptly return to the initial address of creating the bitmap file, so that a trimming operation is completed;

(5)判断是否还要进行剪裁,如果还须要对该来源文件中的其它图像进行剪裁,则重复执行前述第二至六步骤直到完成;(5) judge whether to also clip, if also need to clip other images in the source file, then repeat the aforementioned second to six steps until complete;

(6)否则,即将这些来源文件所占的存储器空间释放掉,以减少占用不必要的存储器空间。(6) Otherwise, release the memory space occupied by these source files, so as to reduce unnecessary memory space occupation.

如此,使用者作业时,只需就该创建文件中所形成的位图进行编辑处理,而无需另就原开启的来源位图文件进行额外的关档动作,可有效增加使用者的操作速度,此外,由这些来源位图文件所占据的存储器空间,将被自动释放,故,可有效节省存储器空间,使之大幅度提高存储器的利用效益及图像处理的时间。In this way, when the user is working, he only needs to edit the bitmap formed in the created file, and does not need to perform additional closing operations on the originally opened source bitmap file, which can effectively increase the user's operation speed. In addition, the memory space occupied by these source bitmap files will be released automatically, so the memory space can be effectively saved, so that the utilization efficiency of the memory and the time of image processing can be greatly improved.

下面将参照附图对本发明进行具体说明。Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

附图说明:Description of drawings:

图1是本发明的计算机图像动态连结方法的步骤示意图;Fig. 1 is a schematic diagram of the steps of the computer image dynamic connection method of the present invention;

图2是本发明的计算机图像动态连结方法的流程示意图;Fig. 2 is a schematic flow chart of the computer image dynamic connection method of the present invention;

附表1是计算机图像的色盘表。Attached Table 1 is a table of color palettes for computer graphics.

本发明在计算机作业系统下,如:微软公司的Windows系统下,对于一张以上的设备无关位图进行图像处理时,这些位图间的动态连结及其处理步骤,参照图1所示,主要包括下列三大部分:1.载入图像:The present invention is under the computer operating system, as: under the Windows system of Microsoft Corporation, when carrying out image processing for more than one device-independent bitmap, the dynamic connection between these bitmaps and the processing steps thereof are shown in Fig. 1 with reference to, mainly Including the following three parts: 1. Load image:

(1.1)首先,计算机根据使用者指示,由存储装置(如:软盘、硬盘或其它装置)中将一张以上的设备无关位图文件直接载入计算机的各存储器位址中。(1.1) First, the computer loads more than one device-independent bitmap file directly into each memory address of the computer from a storage device (such as a floppy disk, a hard disk or other devices) according to the user's instruction.

(1.2)其次,再针对载入各该存储器的位图文件中的图像,进行剪裁,以将其分割成若干小的存储器区块,并以不同指针标示其存储器位址,目前一些应用于Windows操作系统下的惯用图像处理工具,如:Mediaknife等,均没有如本发明在不同位图文件载入时,先针对其中图像提供剪裁的功能,仅能在使用者进行图像编辑处理时,由使用者针对这些位图文件中的图像加以剪裁,如此,惯用的图像处理工具在使用时,因必须针对所载入的各位图文件进行反复开档及关档动作,致其作业程序繁杂,造成图像处理时的速度缓慢,而本发明,由于在各位图文件载入时,即已由计算机将各位图文件中的图像剪裁完毕,因此,加快了图像处理时的速度。(1.2) Secondly, the image in the bitmap file loaded into each memory is clipped to divide it into several small memory blocks, and its memory address is marked with different pointers. Currently, some of them are used in Windows Conventional image processing tools under the operating system, such as: Mediaknife, etc., all do not have the function of cutting the images in the image when different bitmap files are loaded as in the present invention, and can only be used when the user performs image editing. or to clip the images in these bitmap files. In this way, when the usual image processing tools are used, they must repeatedly open and close files for the loaded bitmap files, resulting in complicated operating procedures and resulting in image loss. The processing speed is slow, but in the present invention, since the images in the bitmap files have been clipped by the computer when the bitmap files are loaded, the speed of image processing is accelerated.

随后,计算机再在另一新的存储器位址中创建一文件(即创建文件),供后续图像编辑时使用,该创建文件包括创建一不可见的背景,使该背景能被用来在其上进行图像编辑,如:产生不同图像的重叠效果、透明效果等。2.图像编辑:Subsequently, the computer creates a file (i.e., creates a file) in another new memory address for use during subsequent image editing, and the file creation includes creating an invisible background so that the background can be used to Perform image editing, such as: produce overlapping effects of different images, transparency effects, etc. 2. Image editing:

本发明针对前述经剪裁后的图像进行动态连结时,其作法如下:When the present invention carries out dynamic linking to the above-mentioned images after clipping, its approach is as follows:

(2.1)计算机可将前述所载入的各位图文件中经剪裁的图像,逐一复制到该创建文件上。(2.1) The computer can copy the clipped images in the aforementioned loaded bitmap files to the created file one by one.

(2.2)计算机可将所载入的这些位图文件中经剪裁后的图像,以透明方式逐一复制到该创建文件上,这些所谓的透明方式,是指以某一颜色作为这些位图文件的透明色,当复制到该创建文件上时该透明色不会覆盖该创建文件上原有的部分,从而产生透明效果。(2.2) The computer can copy the clipped images in the loaded bitmap files to the creation file one by one in a transparent manner. These so-called transparent methods refer to using a certain color as the color of these bitmap files. Transparent color, when copied to the created file, the transparent color will not cover the original part of the created file, thus producing a transparent effect.

(2.3)计算机可将所载入的这些位图文件任意地按比例放大或缩小,并将经透明处理的结果,复制或透明复制到该创建文件上。3.显示图像:(2.3) The computer can arbitrarily scale up or downscale the loaded bitmap files, and copy or transparently copy the transparently processed results to the created file. 3. Display image:

(3.1)将编辑后的该创建文件全部显示在显示荧幕上。(3.1) Display all the created files after editing on the display screen.

(3.2)将编辑后的该创建文件的局部显示在显示荧幕上。(3.2) Display part of the created file after editing on the display screen.

(3.3)针对显示在荧幕上的图像进行调色盘的处理,以达到色盘循环等特殊效果。(3.3) Process the color palette for the image displayed on the screen to achieve special effects such as color wheel cycle.

本发明的特征部分主要是在处理图像的动态连结时,图像剪裁的部分,现参照图2对包含图像剪裁的动态连接方法的步骤进行详细说明。The characteristic part of the present invention is mainly the part of image clipping when processing the dynamic linking of images. The steps of the dynamic linking method including image clipping will now be described in detail with reference to FIG. 2 .

1.首先,本发明通过计算机自存储装置开启一设备无关位图文件,并将该文件载入存储器,而得到该位图文件的存储器位址,该文件假设为文件1。1. Firstly, the present invention obtains the memory address of the bitmap file by opening a device-independent bitmap file from the storage device by the computer and loading the file into the memory, and the file is assumed to be file 1 .

2.其次,计算机将创建一新的文件(即创建文件)于一新存储器位址,并将文件1的文件表头复制到该新的存储器位址,并根据参量值剪裁所复制的图像,包括图像的宽度、高度及图像的大小等信息,该创建文件假设为文件X。2. Secondly, the computer will create a new file (i.e. create a file) at a new memory address, and copy the file header of file 1 to the new memory address, and crop the copied image according to the parameter value, including the image The width, height and size of the image and other information, the created file is assumed to be file X.

一般,前述设备无关位图的文件可为如下格式:Generally, the file of the aforementioned device-independent bitmap can be in the following format:

1)文件头:包含42字节(byte)的文件信息及256*4字节(byte)的色盘表。1) File header: Contains 42 bytes (byte) of file information and 256 * 4 bytes (byte) of the color table.

2)图像数据:即每一像素(Pixel)对应色盘表(如附表1所示)的索引值(大于等于0,小于等于255),兹以一11*11图像文件内容为例,说明如下:2) Image data: that is, the index value (greater than or equal to 0 and less than or equal to 255) corresponding to each pixel (Pixel) in the color wheel table (as shown in Attached Table 1). Let us take the content of a 11 * 11 image file as an example to illustrate as follows:

该图像文件的实际图像数据(实际存储是依行顺序储存):87 87 87 87 87 87 87 87 87 87 8787 87 87 87 32 32 32 87 87 87 8787 87 32 32 32 32 32 32 32 87 8787 87 32 32 32 32 32 32 32 87 8787 32 32 32 32 32 32 32 32 32 8787 32 32 32 32 32 32 32 32 32 8787 32 32 32 32 32 32 32 32 32 8787 87 32 32 32 32 32 32 32 87 8787 87 32 32 32 32 32 32 32 87 8787 87 87 87 32 32 32 87 87 87 8787 87 87 87 87 87 87 87 87 87 87,其中该图像数据87是对应至色盘表中代表绿色的索引值,故其所呈现的背景为绿色,同理,图像数据32即为在该绿色背景上面所形成的一红色的圆。The actual image data of the image file (the actual storage is in line order): 87 87 87 87 87 87 87 87 87 87 8787 87 87 87 32 32 32 87 87 87 8787 87 32 32 32 32 32 32 32 87 8787 87 32 32 32 32 32 32 32 8787 32 32 32 32 32 32 32 32 32 32 32 32 32 8787 32 32 32 32 32 8787 32 32 32 32 878787 3222 32 32 32 32 32 32 87 8787 87 87 87 32 32 32 87 87 87 8787 87 87 87 87 87 87 87 87 87 87, where the image data 87 corresponds to the index value representing green in the color wheel table, so the The presented background is green. Similarly, the image data 32 is a red circle formed on the green background.

3.将该来源文件的图像数据,依其参量值(如:起点坐标、宽度、高度等信息)的要求,逐一复制到文件X中,直到全部复制完成。该步骤的具体作法可如下例所示:3. Copy the image data of the source file to the file X one by one according to the requirements of its parameter values (such as information such as starting point coordinates, width, height, etc.) until all copying is completed. The specific practice of this step can be shown in the following example:

首先,假设来源位图文件的图像数据为一8*5大小(即宽度为8,高度为5)的图像:First, assume that the image data of the source bitmap file is an image with a size of 8 * 5 (that is, the width is 8 and the height is 5):

1 3 5 2 6 7 9 11 3 5 2 6 7 9 1

2 4 6 8 2 5 7 22 4 6 8 2 5 7 2

3 5 7 9 4 6 1 53 5 7 9 4 6 1 5

2 4 6 8 9 0 1 42 4 6 8 9 0 1 4

7 2 4 1 4 9 0 5,若须剪裁的位图坐标为(2,2),宽度为4,高度为3,计算机即逐一将来源文件的图像数据复制至创建文件的目的位址,其数据为:4 6 8 2←一次复制5 7 9 4←二次复制4 6 8 9←三次复制以上作法,是对于标准矩形(包括正方形)进行剪裁。7 2 4 1 4 9 0 5, if the coordinates of the bitmap to be clipped are (2, 2), the width is 4, and the height is 3, the computer will copy the image data of the source file to the destination address of the file one by one. The data is: 4 6 8 2←One copy 5 7 9 4←Second copy 4 6 8 9←Three copies The above method is to cut the standard rectangle (including square).

本发明在剪裁矩形时,计算机所提供的参量值是矩形的左上角坐标、矩形宽度及矩形高度等,对于一般设备无关位图文件而言,文件的开始包含长度一定的位图(Bitmap)信息(如:位图的宽度、高度及文件的大小等),然后是位图的色盘信息,最后才是位图的数据。When the present invention clips a rectangle, the parameter values provided by the computer are the coordinates of the upper left corner of the rectangle, the width of the rectangle and the height of the rectangle, etc. For general device-independent bitmap files, the beginning of the file contains bitmap (Bitmap) information with a certain length (such as: bitmap width, height and file size, etc.), then the color wheel information of the bitmap, and finally the data of the bitmap.

若须剪裁非矩形图像,则须要一参量值,该表中记载有组成图像的各横向扫描线的起点坐标和扫描线的宽度。本发明在剪裁时,将依该表中扫描线最宽的值为宽,扫描线的个数为高,进行矩形剪裁,剪裁后,非扫描线部分则以透明色代替(如0号色代表透明色)。故,当其扫描线数据如下时:X    Y    Width4    1    13    2    32    3    5其实际数据为:If a non-rectangular image needs to be clipped, a parameter value is required, and the table records the starting point coordinates and the width of each horizontal scanning line composing the image. The present invention will be wide according to the widest value of scanning line in this table when cutting, and the number of scanning lines is high, carry out rectangle cutting, after cutting, non-scanning line part then replaces with transparent color (as No. 0 color represents transparent color). Therefore, when the scanning line data is as follows: X Y Width4 1 13 2 32 3 5 the actual data is:

    55

4 6 84 6 8

3 5 7 9 4剪裁后,该位图为一个三角形,其它非扫描线部分则以透明色代替(如0号色代表透明色),并将该位图复制到该创建文件中,其数据值为:0 0 5 0 00 4 6 8 03 5 7 9 43 5 7 9 4 After clipping, the bitmap is a triangle, and other non-scanning line parts are replaced by transparent colors (for example, color 0 represents transparent color), and the bitmap is copied to the created file, and its data value For: 0 0 5 0 00 4 6 8 03 5 7 9 4

在本发明中将非矩形的图像予以矩形化的主要目的是为方便图像操作,因为该图像仅需以4个数据即可标示整个图像,至于,其它空的部分则以透明色填充,使后续图像编辑中使用透明处理。In the present invention, the main purpose of rectangularizing the non-rectangular image is to facilitate image operation, because the image only needs 4 data to mark the whole image, and other empty parts are then filled with transparent color, so that the subsequent Transparency is used in image editing.

本发明的计算机图像的动态连结,主要是在存储器中开辟一新的存储器空间(即创建文件)来存放经剪裁的位图,并将来源文件的文件头复制到该位址空间,然后,再根据来源文件的参量修改所复制的文件头内容,如:经剪裁的位图大小、宽、高等。The dynamic connection of the computer image of the present invention mainly is to open up a new memory space (promptly create a file) in the memory to store the clipped bitmap, and copy the file header of the source file to the address space, and then Modify the content of the copied file header according to the parameters of the source file, such as: the size, width, and height of the clipped bitmap.

本发明所谓的参量,是指须剪裁的部分在来源位图的起点坐标和需剪裁的宽度、高度,且其X坐标必须小于来源位图的宽度,Y坐标要小于来源位图的高度,意即:The so-called parameter of the present invention refers to the starting point coordinates of the part to be clipped in the source bitmap and the width and height to be clipped, and its X coordinate must be less than the width of the source bitmap, and the Y coordinate must be less than the height of the source bitmap, meaning Right now:

宽度+X<来源位图的宽度Width + X < width of source bitmap

高度+X<来源位图的宽度例如:X Y   Width Height0 0    5      5则位图的实际数值为:87 87 87 87 8787 87 87 87 3287 87 32 32 3287 87 32 32 3287 32 32 32 32Height+X<The width of the source bitmap For example: X Y Width Height0 0 5 5 The actual value of the bitmap is: 87 87 87 87 8787 87 87 87 3287 87 32 32 3287 87 32 32 3287 32 32 32 32

对于非矩形剪裁,所需提供的参量值为扫描线的坐标和宽度,如:扫描线数据为:X    Y    Length2    5    33    3    74    3    75    1    96    1    97    1    98    3    79    3    710   5    3则其剪裁结果为:00 00 00 32 32 32 00 00 0000 32 32 32 32 32 32 32 0000 32 32 32 32 32 32 32 0032 32 32 32 32 32 32 32 3232 32 32 32 32 32 32 32 3232 32 32 32 32 32 32 32 3200 32 32 32 32 32 32 32 0000 32 32 32 32 32 32 32 0000 00 00 32 32 32 00 00 00For non-rectangular clipping, the required parameters are the coordinates and width of the scan line. For example, the scan line data is: X Y Length2 5 33 3 74 3 75 1 96 1 97 1 98 3 79 3 0 5 The results are: 00 00 00 00 32 32 32 00 0000 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 3232 32 32 32 3232 32 3200 32 32 32 32 32 32 32 0000 32 32 32 32 32 32 32 0000 00 00 32 32 32 00 00 00

4.剪裁完毕后,即返回创建位图文件X的起始位址,如此,即完成一次剪裁操作。4. After the trimming is completed, it returns to the starting address of the bitmap file X, and in this way, a trimming operation is completed.

5.判断是否还要进行剪裁?如果还须要对该位图文件中的其它图像进行剪裁,则重复执行步骤2-6直到完成。5. Determine whether to trim? If other images in the bitmap file need to be clipped, repeat steps 2-6 until completed.

6.否则,即将这些位图文件1(即来源文件)所占的存储器空间释放掉,以减少占用不必要的存储器空间。6. Otherwise, the memory space occupied by these bitmap files 1 (ie source files) is released, so as to reduce unnecessary memory space occupied.

以上所述,仅是本发明的一较佳的实施例,而本发明权利要求所要求保护的范围,并不局限于此,凡本领域的技术人员,依据本发明所揭露的技术内容,可轻易想到的变化及等同物,均应属不脱离本发明的保护范畴。The above description is only a preferred embodiment of the present invention, and the scope of protection required by the claims of the present invention is not limited thereto. Those skilled in the art can, based on the technical content disclosed in the present invention, Easily conceivable changes and equivalents shall all belong to the protection scope of the present invention.

附表1色盘表:Index    R  G  B0     00  00 001     00  00 002     00  AA 003     00  AA AA4     AA  00 005     AA  00 AA6     AA  55 007     AA  AA AA8     55  55 559     55  55 FF10     55  FF 55·          55  FF FF·          FF  55 55·          FF  55 FF·          FF  FF 55FF  FF FFEF  EF EFDF  DF DFD3  D3 D3C3  C3 C3B7  B7 B7AB  AB AB9B  9B 9B8F  8F 8F7F  7F 7F73  73 7367  67 6757  57 574B  4B 4B3B  3B 3B2F  2F 2FAffiliated Table 1 color disk table: INDEX R G B0 00 001 00 002 00 AA 003 00 AA AA4 AA 005 AA6 AA6 AA 55 007 AA AA8 55 55 55 FF 55 FF FF FF · FF · FF 55 55 55 FF 55 FF · FF FF 55FF FFEF EFEF EFDF df DFD3 D3C3 C3B7 B7 B7AB AB9B 9B8F 8F7F 7F 7F73 73757 574B 4B 3B3B 3F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F

     23  23 2323 23 23

32   FF  00 0032 FF 00 00

     EF  00 00EF 00 00

     E3  00 00E3 00 00

     D7  00 00D7 00 00

     CB  00 00CB 00 00

     BF  00 00BF 00 00

     B3  00 00B3 00 00

     A7  00 00A7 00 00

     9B  00 009B 00 00

     8B  00 008B 00 00

     7F  00 007F 00 00

     73  00 0073 00 00

     67  00 0067 00 00

     5B  00 005B 00 00

     4F  00 004F 00 00

     40  00 0040 00 00

     FF  DA DAFF DA DA

     FF  BA BAFF BA BA

     FF  9F 9FFF 9F 9F

     FF  7F 7FFF 7F 7F

     FF  5F 5FFF 5F 5F

     FF  40 40FF 40 40

     FF  20 20FF 20 20

     FF  00 00FF 00 00

     FC  A8 5CFC A8 5C

     FC  98 40FC 98 40

     FC  88 20FC 88 20

     FC  78 00FC 78 00

·        E4  6C 00· E4 6C 00

·        CC  60 00· CC 60 00

·        B4  54 00· B4 54 00

     9C  4C 009C 4C 00

     FC  FC D8FC FC D8

     FC  FC B8FC FC B8

     FC  FC 9CFC FC 9C

     FC  FC 7CFC FC 7C

     FC  F8 5CFC F8 5C

     FC  F4 40FC F4 40

     FC  F4 20FC F4 20

     FC  F4 00FC F4 00

     E4  D8 00E4 D8 00

     CC  C4 00CC C4 00

     B4  AC 00B4 AC 00

     9C  9C 009C 9C 00

     84  84 0084 84 00

     70  6C 0070 6C 00

     58  54 0058 54 00

     40  40 0040 40 00

     D0  FC 5CD0 FC 5C

     C4  FC 40C4 FC 40

     B4  FC 20B4 FC 20

     A0  FC 00A0 FC 00

     90  E4 0090 E4 00

     80  CC 0080 CC 00

     74  B4 0074 B4 00

 87  60  9C 0087 60 9C 00

     D8  FC D8D8 FC D8

     BC  FC B8BC FC B8

     9C  FC 9C9C FC 9C

     80  FC 7C80 FC 7C

     60  FC 5C60 FC 5C

     40  FC 4040 FC 40

     20  FC 2020 FC 20

     00  FC 0000 FC 00

     00  FF 0000 FF 00

     00  EF 0000 EF 00

     00  E3 0000 E3 00

     00  D7 0000 D7 00

     7C  B0 07C B0 0

     7B  F0 07B F0 0

     7B  30 07B 30 0

     7A  70 07A 70 0

     79  B0 079 B0 0

     78  B0 078 B0 0

     77  F0 077 F0 0

     77  30 077 30 0

     76  70 076 70 0

     75  B0 075 B0 0

     74  F0 074 F0 0

     44  00 044 00 0

     DA  FF FFDA FF FF

     B8  FC FCB8 FC FC

     9C  FC FC9C FC FC

     7C  FC F87C FC F8

     5C  FC FC5C FC FC

     40  FC FC40 FC FC

     20  FC FC20 FC FC

     00  FC FC00 FC FC

     00  E4 E400 E4 E4

     00  CC CC00 CC CC

     00  B4 B400 B4 B4

     00  9C 9C00 9C 9C

     00  84 8400 84 84

     00  70 7000 70 70

     00  58 5800 58 58

     00  40 4000 40 40

     5C  BC FC5C BC FC

     40  B0 FC40 B0 FC

     20  A8 FC20 A8 FC

      0  9C FC0 9C FC

      0  8C E40 8C E4

      0  7C CC0 7C CC

      0  6C B40 6C B4

      0  5C 9C0 5C 9C

     DA  DA FFDA DA FF

     BA  BF FFBA BF FF

     9F  9F FF9F 9F FF

     7F  80 FF7F 80 FF

     5F  60 FF5F 60FF

     40  40 FF40 40 FF

     20  25 FF20 25 FF

     00  5F 0F00 5F 0F

     00  00 FF00 00 FF

     00  00 EF00 00 EF

     00  00 E300 00 E3

     00  00 D700 00 D7

     00  00 CB00 00 CB

     00  00 BF00 00 BF

     00  00 B300 00 B3

     00  00 A700 00 A7

     00  00 9B00 00 9B

     00  00 8B00 00 8B

     00  00 7F00 00 7F

     00  00 7300 00 73

     00  00 6700 00 67

     00  00 5B00 00 5B

     00  00 4F00 00 4F

     00  00 4000 00 40

     F0  DA FFF0 DA FF

     E5  BA FFE5 BA FF

     DA  9F FFDA 9F FF

     D0  7F FFD0 7F FF

     CA  5F FFCA 5F FF

     BF  40 FFBF 40 FF

     B5  20 FFB5 20 FF

     AA  00 FFAA 00 FF

     9A  00 E59A 00 E5

    80  00 CF80 00 CF

    75  00 B575 00 B5

    60  00 9F60 00 9F

    50  00 8550 00 85

    45  00 7045 00 70

    35  00 5A35 00 5A

    2A  00 402A 00 40

    FF  DA FFFF DA FF

    FF  BA FFFF BA FF

    FF  9F FFFF 9F FF

    FF  7F FFFF 7F FF

    FF  5F FFFF 5F FF

    FF  40 FFFF 40 FF

    FF  20 FFFF 20 FF

    FF  00 FFFF 00 FF

    E0  00 E5E0 00 E5

    CA  00 CFCA 00 CF

    B5  00 B5B5 00 B5

    9F  00 9F9F 00 9F

    85  00 8585 00 85

    6F  00 706F 00 70

    5A  00 5A5A 00 5A

    40  00 4040 00 40

    FF  EA DFFF EA DF

    FF  E0 D0FF E0 D0

    FF  DA C5FF DA C5

    FF  D5 BFFF D5 BF

    FF  CF B0FF CF B0

    FF  C5 A5FF C5 A5

    FF  BF 9FFF BF 9F

    FF  BA 90FF BA 90

    FF  B0 80FF B0 80

    FF  A5 70FF A5 70

    FF  9F 60FF 9F 60

    F0  95 5FF0 95 5F

    EA  8F 5AEA 8F 5A

    DF  8A 55DF 8A 55

    D0  80 50D0 80 50

    CA  7F 4FCA 7F 4F

    BF  7A 4ABF 7A 4A

    B5  70 45B5 70 45

    AA  6A 40AA 6A 40

    A0  65 3FA0 65 3F

    9F  60 3A9F 60 3A

    90  5F 3590 5F 35

    8A  5A 308A 5A 30

    80  50 2F80 50 2F

    75  4F 2A75 4F 2A

    6F  4A 256F 4A 25

    5F  40 205F 40 20

    55  3F 1F55 3F 1F

    4A  3A 1A4A 3A 1A

    40  30 1A40 30 1A

    3A  2F 153A 2F 15

    2A  20 0F2A 20 0F

    0   0  00 0 0

    0   0  00 0 0

    0   0  00 0 0

    0   0  00 0 0

    0   0  00 0 0

    0   0  00 0 0

    0   0  00 0 0

    0   0  00 0 0

    C7  2B 2BC7 2B 2B

    C7  4F 2BC7 4F 2B

    C7  77 2BC7 77 2B

    C7  9F 2BC7 9F 2B

    C7  C7 2BC7 C7 2B

    9F  C7 2B9F C7 2B

    77  C7 2B77 C7 2B

    4F  C7 2B4F C7 2B

    2B  C7 332B C7 33

    2B  C7 5F2B C7 5F

    2B  C7 8B2B C7 8B

    2B  C7 B72B C7 B7

    2B  AB C72B AB C7

    2B  7F C72B 7F C7

    2B  53 C72B 53 C7

    2F  2B C72F 2B C7

    5B  2B C75B 2B C7

    87  2B C787 2B C7

·      B3  2B C7· B3 2B C7

·      C7  2B AF· C7 2B AF

·      C7  2B 83· C7 2B 83

·      C7  2B 57· C7 2B 57

·      C7  2B 2B· C7 2B 2B

255 FF  FF FF255 FF FF FF

Claims (4)

1. the dynamic linking method of a computer picture, its step comprises:
(1) at first, open a device independent bit file from memory storage, and come source file to be written into storer this, and obtain the storer address that this comes source file by computing machine;
(2) secondly, computing machine will be created a new file to a new memory address, and in the future the file gauge outfit of source file copies to the new storer address of this establishment file, and cuts out the image that is duplicated according to value of consult volume, comprises the information such as size of width, height and the image of image;
(3) this is come the view data of source file, the requirement according to its value of consult volume copies in this establishment file one by one, finishes up to all duplicating;
(4) cut out finish after, promptly return the initial address of creating bitmap file, so, promptly finish and once cut out operation;
(5) judge whether also will cut out,, then repeat aforementioned second to six step up to finishing if also need come other image in the source file to cut out to this;
(6) otherwise, be about to these and come the shared storage space of source file to discharge, take unnecessary storage space with minimizing.
2. the dynamic linking method of a kind of computer picture as claimed in claim 1, wherein computing machine is when coming source file to cut out with rectangular image, be the value of consult volume that provides according to computing machine, this value of consult volume is upper left corner coordinate, rectangle width and the rectangle height of rectangle.
3. the dynamic linking method of a kind of computer picture as claimed in claim 1, wherein, computing machine is the value of consult volume that provides according to computing machine when coming source file with the non-rectangle image cutting-out, records the starting point coordinate of each horizontal scan line of composition diagram picture and the width of sweep trace in this value of consult volume, when cutting out, to be wide according to the wideest value of sweep trace in this table, the number of sweep trace be high, carries out rectangle and cuts out, after cutting out, non-sweep trace part then replaces with Transparent color.
4. the dynamic linking method of a kind of computer picture as claimed in claim 1, wherein this value of consult volume be meant the part that must cut out at the starting point coordinate of source bitmap and the width that need cut out, highly, and its X coordinate must be less than the width of source bitmap, the Y coordinate is less than the height of source bitmap, anticipates promptly:
The width of width+X<source bitmap
Highly+width of X<source bitmap
CN97110365A 1997-04-15 1997-04-15 Dynamic linking method for computer image Expired - Fee Related CN1062362C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN97110365A CN1062362C (en) 1997-04-15 1997-04-15 Dynamic linking method for computer image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN97110365A CN1062362C (en) 1997-04-15 1997-04-15 Dynamic linking method for computer image

Publications (2)

Publication Number Publication Date
CN1196544A CN1196544A (en) 1998-10-21
CN1062362C true CN1062362C (en) 2001-02-21

Family

ID=5171389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN97110365A Expired - Fee Related CN1062362C (en) 1997-04-15 1997-04-15 Dynamic linking method for computer image

Country Status (1)

Country Link
CN (1) CN1062362C (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1124530A (en) * 1993-03-25 1996-06-12 利福图象公司 Image processing method and system
CN1132887A (en) * 1994-12-02 1996-10-09 索尼公司 Method for generating image data, image data processing device and recording medium
CN1141093A (en) * 1993-11-19 1997-01-22 维夫尔利·霍尔丁公司 Method and device for synchronous composition, display and processing of text and image files

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1124530A (en) * 1993-03-25 1996-06-12 利福图象公司 Image processing method and system
CN1141093A (en) * 1993-11-19 1997-01-22 维夫尔利·霍尔丁公司 Method and device for synchronous composition, display and processing of text and image files
CN1132887A (en) * 1994-12-02 1996-10-09 索尼公司 Method for generating image data, image data processing device and recording medium

Also Published As

Publication number Publication date
CN1196544A (en) 1998-10-21

Similar Documents

Publication Publication Date Title
CN1095174A (en) A system for processing information with icons
CN1383532A (en) Creation of image designation files and playback of images using this file
CN1014845B (en) Techniques for making, expanding and contracting component tags in structured documents
CN101064177A (en) Caption display control apparatus
CN1926575A (en) Image similarity calculation system, image search system, image similarity calculation method, and image similarity calculation program
CN1967541A (en) Information processing device, information processing method, program, and storage medium
CN1558348A (en) Method and system for converting a schema-based hierarchical data structure into a flat data structure
CN1487737A (en) Image processing method and apparatus, colour change list generating method and apparatus
CN1503122A (en) Simplifying interaction between a video renderer and a graphics device driver
CN101046892A (en) Graphics-rendering apparatus
CN1239982C (en) Data processing system
CN1389067A (en) image printing equipment
CN1703724A (en) Background color removal method for Porter-Duff synthesis
CN1577332A (en) Information display control device, server, and program-recorded recording medium
CN1764928A (en) Multi-gradation monochromatic image display method, multi-gradation monochromatic image display device, computer, monochromatic display device, re-conversion adapter, and video card
CN1885899A (en) Image combining apparatus, and control method and program therefor
CN1295309A (en) Profile smoothing processing and device
CN1264113C (en) Apparatus and method of analyzing layout of document, and computer product
CN1273000A (en) Video display and program recorded medium
CN1441952A (en) Information recording medium, information recording method, information recording device, information reproducing method, and information reproducing device
CN1681287A (en) Digital camera, album managing method, album management program product, and album management program transmission medium
CN1062362C (en) Dynamic linking method for computer image
CN1107908C (en) Device for producing multi-kind assembly source program from extenden tree-shape structure figure by use of same rule
CN101046867A (en) Workflow determination method and workflow determination system
CN1629916A (en) Light propagation characteristic control device and method, optical display device and control method thereof

Legal Events

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

Granted publication date: 20010221

Termination date: 20110415