Method and apparatus for storing information of a picture
First Claim
1. A method for storing information of a picture, comprising:
- presenting a file of the picture to be edited, wherein the picture file to be edited at least comprises original data of the picture;
editing the picture file to be edited with an interface engine, and integrating rendering information of the edited picture file according to a preset picture file format; and
storing the original picture data and the rendering information of the picture,wherein the rendering information comprises at least rendering texture mode information, blend rendering mode information and picture data offset information, and the preset picture file format comprises at least a rendering texture mode information field, a blend rendering mode information field, and a picture data offset information field; and
wherein the integrating of the rendering information of the edited picture file according to the preset picture file format comprises sequentially adding the rendering texture mode information, the blend rendering mode information and the picture data offset information of the edited picture file according to a field sequence in the preset picture file format.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed are method and apparatus for storing information of a picture. The method includes presenting a picture file to be edited, which at least includes original picture data; editing the picture file with an interface engine; integrating rendering information of the edited picture file according to a preset picture file format; and storing the original picture data and the rendering information. According to the invention, the interface engine is improved, and thus may directly edit a picture in use, and integrate the rendering information of the edited picture file according to a preset picture format. Therefore, during development, it is not required to store rendering information of a picture into codes, so that no programmer is required to intervene in rendering and setting of the picture. An art-designer may directly operate on the interface engine to change rendering effects, meanwhile, final rendering effects may be observed without running a program.
-
Citations
18 Claims
-
1. A method for storing information of a picture, comprising:
-
presenting a file of the picture to be edited, wherein the picture file to be edited at least comprises original data of the picture; editing the picture file to be edited with an interface engine, and integrating rendering information of the edited picture file according to a preset picture file format; and storing the original picture data and the rendering information of the picture, wherein the rendering information comprises at least rendering texture mode information, blend rendering mode information and picture data offset information, and the preset picture file format comprises at least a rendering texture mode information field, a blend rendering mode information field, and a picture data offset information field; and wherein the integrating of the rendering information of the edited picture file according to the preset picture file format comprises sequentially adding the rendering texture mode information, the blend rendering mode information and the picture data offset information of the edited picture file according to a field sequence in the preset picture file format. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus for storing information of a picture, comprising:
-
a presentation module adapted to present a file of the picture to be edited, wherein the picture file to be edited comprises at least original picture data; an integration module adapted to edit the picture file to be edited with an interface engine, and integrate rendering information of the edited picture file according to a preset picture file format; and a storage module adapted to store the original picture data and the rendering information obtained through integration by the integration module, wherein the rendering information comprises at least rendering texture mode information, blend rendering mode information and picture data offset information, and the preset picture file format comprises at least a rendering texture mode information field, a blend rendering mode information field, and a picture data offset information field; and wherein the integration module is adapted to sequentially add the rendering texture mode information, the blend rendering mode information and the picture data offset information of the edited picture file according to a field sequence in the preset picture file format. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory tangible computer-readable medium storing instructions which, when executed by a processor, cause an apparatus to perform a method for storing information of a picture, the method comprising:
-
presenting a file of the picture to be edited, wherein the picture file to be edited at least comprises original data of the picture; editing the picture file to be edited with an interface engine, and integrating rendering information of the edited picture file according to a preset picture file format; and storing the original picture data and the rendering information of the picture, wherein the rendering information comprises at least rendering texture mode information, blend rendering mode information and picture data offset information, and the preset picture file format comprises at least a rendering texture mode information field, a blend rendering mode information field, and a picture data offset information field; and wherein the integrating of the rendering information of the edited picture file according to the preset picture file format comprises sequentially adding the rendering texture mode information, the blend rendering mode information and the picture data offset information of the edited picture file according to a field sequence in the preset picture file format. - View Dependent Claims (16, 17, 18)
-
Specification