Picture processing method and device and electronic equipment
A picture processing and picture technology, which is applied in the computer field, can solve the problems of cumbersome users, sensitive information or hidden safety hazards in confidential information, etc., and achieve the effect of convenient processing and ensuring safety
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] Such as figure 2 As shown, it is a schematic flow chart of an image processing method in an embodiment of the present invention, and the method includes:
[0037] S101: Load the picture into the browser, call a first container object of the browser, and convert the picture into content data of the first container object, where the first container object is specifically a container object storing binary files. In the embodiment of the present invention, the conversion of content data can be realized by utilizing the characteristics of some objects in the H5 browser, specifically, the above-mentioned first container object can be a Blob object. Correspondingly, the above picture can be specifically converted into content data of a Blob object. A Blob object is a file-like object containing read-only raw data, which can be regarded as a container for storing binary data. After the H5 browser obtains the content data of the image and converts it into a Blob object, the im...
Embodiment 2
[0043] Such as image 3 As shown, it is a schematic structural diagram of an image processing device according to an embodiment of the present invention. The device can be set in the H5 browser of the mobile terminal, or can be set outside the H5 browser, and call the internal program module of the H5 browser from the outside. . The unit includes:
[0044] The object generation module 11 is used to load the picture into the browser, call the first container object of the browser, and convert the picture into the content data of the first container object, and the first container object is a container object for storing binary files. Wherein, in the H5 browser environment, the above-mentioned first container object may be a Blob object. In addition, loading the picture into the browser may include: calling a camera application of the mobile terminal to take a picture and / or a file browsing application to obtain a local picture through the H5 browser.
[0045] The data type con...
Embodiment 3
[0052] The preceding embodiments describe the flow processing and device structure of the embodiments of the present invention. The functions of the above-mentioned method and device can be realized by means of an electronic device, such as Figure 4 As shown in , it is a schematic structural diagram of an electronic device according to an embodiment of the present invention, specifically including: a memory 110 and a processor 120 .
[0053] The memory 110 is used for storing programs.
[0054] In addition to the above programs, the memory 110 may also be configured to store other various data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phonebook data, messages, pictures, videos, etc.
[0055] The memory 110 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), elec...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com