Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for optimization processing of PNG (portable network graphic) image resources

A resource optimization and processing method technology, applied in the computer field, can solve the problems of occupying mobile phone storage resources, large application package capacity, and large image data redundancy, saving storage resources, reducing capacity, and reducing data redundancy. Effect

Inactive Publication Date: 2012-04-25
GCI SCI & TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This processing method will cause the same data to be called repeatedly, and the image data redundancy will be large, making the application package large in capacity and occupying precious storage resources of the mobile phone.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for optimization processing of PNG (portable network graphic) image resources
  • Method and device for optimization processing of PNG (portable network graphic) image resources
  • Method and device for optimization processing of PNG (portable network graphic) image resources

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0019] see figure 1 , is a flowchart of an embodiment of the PNG image resource optimization processing method provided by the present invention. The steps for optimizing a group of PNG images with the same pattern are as follows:

[0020] A101, input N PNG image files with the same pattern; wherein, N≥2;

[0021] like figure 2 Shown is a schematic diagram of a group of image files, including N PNG image files. Each PNG image file contains image data, palette ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and device for optimization processing of PNG (portable network graphic) image resources. The method comprises the following steps: respectively extracting palette data of each PNG image and image data of any one PNG image from N PNG image files with the same pattern; and combining the image data and the palette data of the N PNG images to generate a new PNG image group file. By calling the PNG image group file during the development process of J2ME (Java 2 micro edition) terminal applications, the invention can reduce the data redundancy of the PNG image files in this group, thereby reducing the volume of application package and saving storage resources.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for optimizing PNG image resources in a J2ME terminal. Background technique [0002] J2ME (Java 2 Micro Edition) is a highly optimized Java operating environment, mainly for consumer electronic devices, such as cellular phones and video phones, digital set-top boxes, car navigation systems, etc. [0003] In the J2ME architecture, the goal of Connected, Limited Device Configuration (CLDC for short) is to provide a standardized, highly portable, and small memory capacity Java application development platform for devices with limited resources and network access capabilities. Supported devices include mobile terminals; Mobile Information Device Profile (MIDP for short) creates a development application environment for small, resource-constrained mobile devices. [0004] The development of J2ME mobile phone applications is based on CLDC and MIDP specifications....

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06T1/60
Inventor 梁军平
Owner GCI SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products