Method of generating a markup language document containing image slices
First Claim
1. In a computer graphics program running on a computer, a method of generating a markup language document containing image slices, comprising:
- providing an original image in a computer-readable graphics document;
identifying a portion to the original image as background from information stored in the graphics document;
computing an image portion boundary for each non-background portion of the original image from information stored in the graphics document;
computing one or more image slice boundaries from any overlapping image portion boundaries;
generating an image slice corresponding to the portion of the original image inside each image slice boundary and an image slice file for each image slice; and
generating a markup language document containing references to the image slice files.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of generating a markup language document containing image slices in a computer graphics program running on a computer in which a portion of an original image from a computer-readable graphics document is identified as background from information stored in the graphics document. An image portion boundary is automatically computed for each non-background portion of the original image from information stored in the graphics document, and one or more image slice boundaries are computed from any overlapping image portion boundaries. An image slice and an image slice file are generated corresponding to the portion of the original image inside each image slice boundary. A markup language document is generated containing references to the image slice files.
-
Citations
19 Claims
-
1. In a computer graphics program running on a computer, a method of generating a markup language document containing image slices, comprising:
-
providing an original image in a computer-readable graphics document;
identifying a portion to the original image as background from information stored in the graphics document;
computing an image portion boundary for each non-background portion of the original image from information stored in the graphics document;
computing one or more image slice boundaries from any overlapping image portion boundaries;
generating an image slice corresponding to the portion of the original image inside each image slice boundary and an image slice file for each image slice; and
generating a markup language document containing references to the image slice files. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 16)
determining the position of each image slice in a table element in the markup language document; and
storing the table element with the position of each image slice in the markup language document.
-
-
5. The method of claim 1, wherein the graphics document contains a plurality of objects, and the information includes the dimensions of each object.
-
6. The method of claim 5, wherein at least one of the objects has multiple states having different visual appearances, and the image portion boundary of the object surrounds all of the states.
-
7. The method of claim 5, wherein at least one of the objects has a URL property, and wherein generating the markup language document includes adding a URL reference.
-
8. The method of claim 1, wherein the graphics document includes a layer having a transparency channel, and the information identifies the non-transparent portions of the channel.
-
9. The method of claim 1, wherein the image has a plurality of colors, the method further comprises identifying one of the colors as a background color, and the information identifies the portions of the image that are not the identified color.
-
10. The method of claim 1, wherein generating the markup language document includes generating a background image file and placing a reference to the background image file in the markup language document.
-
16. The method of claim 1, wherein the graphics document contains a plurality of objects, and the information includes position of each object.
-
11. In an object-based drawing environment, a method of generating a markup language document containing a script, comprising:
-
providing a graphics document having an original image in an object-based drawing environment;
providing at least one object in the graphics document with multiple states having different visual appearances;
computing a boundary for the object, the boundary surrounding all of the states;
generating an image slice for each state of the object, each image slice corresponding to the portion of the original image with the visual appearance associated with the state within the boundary; and
generating a markup language document containing a script that refers to the image slices. - View Dependent Claims (17, 18)
-
-
12. A method for preparing an image for display, comprising:
-
obtaining an image in computer-readable form;
identifying a background portion of the image;
identifying image islands in the image, an image island being defined by an island boundary surrounding a non-background portion of the image, wherein none of the island boundaries of the image islands overlap any of the other island boundaries;
generating a sub-image file for each image island, each sub-image file containing the corresponding portion of the image; and
generating a markup language file having a reference to each of the sub-image files, wherein the markup language document can be rendered to cause the image to be displayed. - View Dependent Claims (13, 14)
receiving a user input identifying a background color, pattern, or texture of the image.
-
-
14. The method of claim 12, wherein the island boundaries are all rectangular.
-
15. A computer program, tangibly stored on a computer-readable medium, for compositing a set of ordered image layers, the computer program comprising instructions for causing a computer to:
-
provide an original image in a computer-readable graphics document;
identify a portion of the original image as background from information stored in the graphics document;
automatically compute an image portion boundary for each non-background portion of the original image from information stored in the graphics document;
compute one or more image slice boundaries from any overlapping image portion boundaries;
generate an image slice corresponding to the portion of the original image inside each image slice boundary and an image slice file for each image slice; and
generate a markup language document containing references to the image slice files.
-
-
19. A method of generating a markup language document containing image slices, comprising:
-
providing an image in a computer-readable document, wherein the image has background information and a plurality of objects, and wherein each object includes position information;
identifying the background information;
computing an image portion boundary for each object from the position information;
computing one or more image slice boundaries from any overlapping image portion boundaries;
generating one or more image slices and respective image slice files for each image slice boundary, wherein an image slice file includes data of the objects contained within the corresponding image slice boundary; and
generating a markup language document containing references to the image slice files, wherein a change in a reference to an image slice file causes the image to change.
-
Specification