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

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

Active Publication Date: 2020-05-26
ALIBABA GRP HLDG LTD
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical solution of the prior art has the following disadvantages: downloading and installing the APP separately will be cumbersome for most users
In addition, files need to be uploaded to the server, which poses a security risk for sensitive or confidential information

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
  • Picture processing method and device and electronic equipment
  • Picture processing method and device and electronic equipment
  • Picture processing method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

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...

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 embodiment of the invention provides a picture processing method and device and electronic equipment, and the method comprises the steps of loading a picture to a browser, calling a first container object of the browser, and converting the picture into the content data of the first container object; converting the data type of the first container object into a data type which can be identifiedby a PDF processing program; and calling a PDF processing program to convert the content data of the first container object into a PDF file. According to the embodiment of the invention, the characteristics of the container object in the browser are utilized for converting the picture into intermediate type data which can be identified by a PDF program; the PDF program is further called to carryout final file conversion to form the PDF file, the whole processing process can be completed locally in the mobile terminal, and uploading of a network server is not needed, so that the security of the file content is ensured, and the processing process is very convenient.

Description

technical field [0001] The present application relates to a picture processing method, device and electronic equipment, belonging to the technical field of computers. Background technique [0002] PDF files are a file format that is often used in work, and you often encounter scenarios where you need to convert paper files to PDF. In the traditional processing method, the document or picture is scanned by the scanning device first, and stored in the computer, and then sent by email or submitted to the working system as required. [0003] In order that users can easily convert paper documents into PDF files, some APPs of mobile terminals have also been developed in the prior art. The cameras of mobile terminals are used to take pictures of paper documents, and then upload them to the network server for PDF conversion. Then send it to the mobile terminal. [0004] The technical solution of the prior art has the following disadvantages: downloading and installing the APP sepa...

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 Applications(China)
IPC IPC(8): G06F40/151
Inventor 张胜利余传红
Owner ALIBABA GRP HLDG LTD
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