Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for extracting thumbnails of png images and bmp images

An extraction method and thumbnail technology, which is applied in the field of image processing, can solve the problems of extracting thumbnails of unfavorable multiple images, time-consuming reading and storage, and inability to meet real-time display, so as to save system memory consumption, improve extraction speed, The effect of saving system memory consumption

Active Publication Date: 2017-05-10
SAMSUNG ELECTRONICS CHINA R&D CENT +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since images in BMP format are often relatively large (such as 24bit BMP images are the most common), decoding will take up a lot of memory and take a long time, which is difficult to meet the real-time display requirements
For example: a 24bitBMP image with a resolution of 1920x1080, full image decoding and scaling will consume 6M of system memory, and it is very time-consuming to read and store each pixel, which cannot meet the requirements of real-time display and is not conducive to Extract thumbnails for multiple images

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
  • A method for extracting thumbnails of png images and bmp images
  • A method for extracting thumbnails of png images and bmp images
  • A method for extracting thumbnails of png images and bmp images

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the purpose, technical means and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings.

[0030] figure 1 It is a schematic flowchart of a method for extracting thumbnails of PNG images in the embodiment of the present application. like figure 1 As shown, the method includes:

[0031] Step 101, judge whether current image is the image of PNG format, if yes, then continue to execute step 102, if not then exit;

[0032] Step 102, parse the header information of the PNG image to obtain the basic information of the image.

[0033] Among them, the basic information obtained includes: the width W of the original image ORG and high H ORG , bit depth, color type and interlacing type etc.

[0034] Step 103, if the determined file interleaving type is an interlaced PNG image, execute step 104; if it is a non-interleaved PNG image, execute steps 105-106. ...

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

A thumbnail extraction method of a PNG image and a BMP image is disclosed. The application discloses a thumbnail extraction method of a PNG image, comprising the following steps: as for a non-interlaced PNG image, a buffer with the space occupied by two lines of pixels so as to store pixel values of the current line and the last line before decoding; the PGN image is gradually decoded line by line from the first line, and a rebuilt decoded pixel value in each line undergoes downsampling to obtain a pixel value of a corresponding line of a target thumbnail; during decoding line by line, after decoding of the current line except the first line, the pixel value of the last line before decoding is moved out of the buffer, the pixel value of the next line before decoding is written into the buffer, and the next line is used as the current line for decoding. With the application of the extraction method, memory costs of a system can be saved.

Description

technical field [0001] The present application relates to image processing technology, in particular to a method for extracting thumbnails of BMP images. Background technique [0002] A personal computer can access multimedia files (video, music, pictures, etc.) stored on its own hard disk, other external devices, and the network, and provide users with a thumbnail preview function for browsing the overview of these files. Display devices based on embedded systems such as digital TVs and mobile phones also have the same preview function. Wherein, the preview picture can provide the user with an intuitive overview of the content of the picture, and has high practical value. [0003] Since the image files are small, the storage medium can store a large number of image files. This requires that the display device can quickly process the original image to generate thumbnail information, and quickly display the thumbnail. [0004] At present, for obtaining thumbnails of image ...

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): G06T9/00
Inventor 胡伟常江龙朱春波
Owner SAMSUNG ELECTRONICS CHINA R&D CENT