CN112954030A - Web side picture compression method and device and electronic equipment - Google Patents

Web side picture compression method and device and electronic equipment Download PDF

Info

Publication number
CN112954030A
CN112954030A CN202110131304.1A CN202110131304A CN112954030A CN 112954030 A CN112954030 A CN 112954030A CN 202110131304 A CN202110131304 A CN 202110131304A CN 112954030 A CN112954030 A CN 112954030A
Authority
CN
China
Prior art keywords
picture
data
format
size
canvas
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110131304.1A
Other languages
Chinese (zh)
Inventor
程炳生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qibao Xinan Technology Co ltd
Original Assignee
Beijing Qibao Xinan Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qibao Xinan Technology Co ltd filed Critical Beijing Qibao Xinan Technology Co ltd
Priority to CN202110131304.1A priority Critical patent/CN112954030A/en
Publication of CN112954030A publication Critical patent/CN112954030A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC

Abstract

The invention discloses a method and a device for compressing a Web-side picture and electronic equipment, wherein the method comprises the following steps: reading the content and the size of the picture through a FileReader; judging whether the picture size is larger than a preset picture size; if the picture size is larger than the preset picture size, compressing the picture content through canvas; outputting data of a specified picture format through canvas; and uploading the data in the specified picture format to a server. The invention can realize the compression and uploading function of the Web terminal to the pictures, thereby improving the uploading speed, saving the flow, improving the uploading efficiency of the Web terminal pictures and meeting the business requirements.

Description

Web side picture compression method and device and electronic equipment
Technical Field
The invention relates to the technical field of internet, in particular to a method and a device for compressing a Web-side picture, electronic equipment and a computer readable medium.
Background
With the development of internet technology, many services can be handled directly through Web clients. The Web client mainly refers to a Web Browser (Browser). The main function of the system is to present the Web resources requested by the user to the server and display the Web resources in a browser window. At present, many services have scenes of uploading a large number of pictures, and with the upgrading of camera equipment, the shot pictures are larger and larger, so that a Web end is required to compress the pictures before uploading the pictures.
At present, a Web end is mainly implemented by HTML5 (H5 for short), namely 5 th generation hypertext markup language, but the existing H5 cannot compress pictures, so that the Web end can upload pictures only with original pictures, uploading is slow, traffic is wasted, and business handling is affected.
Disclosure of Invention
The invention aims to solve the technical problem that the picture uploading efficiency is low due to the fact that a Web end cannot compress pictures.
In order to solve the above technical problem, a first aspect of the present invention provides a method for compressing a Web-side picture, where the Web-side picture is developed based on HTML5, and the method includes:
reading the content and the size of the picture through a FileReader;
judging whether the picture size is larger than a preset picture size;
if the picture size is larger than the preset picture size, compressing the picture content through canvas;
outputting data of a specified picture format through canvas;
and uploading the data in the specified picture format to a server.
According to a preferred embodiment of the present invention, the picture content and size are read through Input of FileReader.
According to a preferred embodiment of the present invention, after the picture content and the size are read by the FileReader, the method further includes:
creating an Image object;
and storing the picture content and the size read by the FileReader into an Image object.
According to a preferred embodiment of the present invention, the Image object is compressed by a canvas.
toBlob output, in accordance with a preferred embodiment of the present invention, Blob format data;
alternatively, data in base64 format is output via canvas.
According to a preferred embodiment of the invention, if the data in the Blob format is output, the data in the Blob format is uploaded to a server through a FormData object;
if the data in the base64 format is output, uploading the data in the base64 format to the server through ajax; or; creating a Blob object, storing the data in the base64 format into the Blob object to obtain the data in the Blob format, and uploading the data in the Blob format to a server through a FormData object.
In order to solve the above technical problem, a second aspect of the present invention provides a Web-side picture compression apparatus, where the Web-side is developed based on HTML5, and the apparatus includes:
the reading module is used for reading the content and the size of the picture through a FileReader;
the judging module is used for judging whether the picture size is larger than a preset picture size;
the compression module is used for compressing the picture content through canvas if the picture size is larger than the preset picture size;
the output module is used for outputting data in a specified picture format through canvas;
and the uploading module is used for uploading the data in the specified picture format to a server.
According to a preferred embodiment of the present invention, the reading module reads the picture content and the size through an Input of the FileReader.
According to a preferred embodiment of the invention, the device further comprises:
the creation module is used for creating an Image object;
and the storage module is used for storing the picture content and the size read by the FileReader into the Image object.
According to a preferred embodiment of the present invention, the compression module performs geometric compression on the Image object by using canvas.
According to a preferred embodiment of the present invention, the output module outputs Blob-formatted data by canvas.
Alternatively, the output module outputs data in base64 format via canvas.
According to a preferred embodiment of the present invention, if the output module outputs the Blob-formatted data, the upload module uploads the Blob-formatted data to the server through the FormData object;
if the output module outputs data in the base64 format, the uploading module uploads the data in the base64 format to the server through ajax; or; if the output module outputs data in a base64 format, the uploading module creates a Blob object, stores the data in the base64 format into the Blob object to obtain the data in the Blob format, and uploads the data in the Blob format to the server through the FormData object.
To solve the above technical problem, a third aspect of the present invention provides an electronic device, comprising:
a processor; and
a memory storing computer executable instructions that, when executed, cause the processor to perform the method described above.
To solve the above technical problems, a fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs which, when executed by a processor, implement the above method.
The method reads the picture content and the picture size through a FileReader interface defined by H5, and compresses the picture content through a canvas assembly of H5 and outputs data in a specified picture format when the picture size is larger than the preset picture size; and finally, uploading the data in the specified picture format to a server, thereby realizing the function of compressing and uploading the pictures by the Web end, effectively improving the uploading speed, saving the flow, improving the uploading efficiency of the pictures by the Web end and meeting the business requirements.
Drawings
In order to make the technical problems solved by the present invention, the technical means adopted and the technical effects obtained more clear, the following will describe in detail the embodiments of the present invention with reference to the accompanying drawings. It should be noted, however, that the drawings described below are only illustrations of exemplary embodiments of the invention, from which other embodiments can be derived by those skilled in the art without inventive step.
FIG. 1 is a schematic flow chart of a method for compressing a Web-side picture according to the present invention;
FIG. 2 is a schematic diagram of a structural framework of a Web-side image compression device according to the present invention;
FIG. 3 is a block diagram of an exemplary embodiment of an electronic device in accordance with the present invention;
FIG. 4 is a schematic diagram of one embodiment of a computer-readable medium of the present invention.
Detailed Description
Exemplary embodiments of the present invention will now be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the invention may be embodied in many specific forms, and should not be construed as limited to the embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art.
The structures, properties, effects or other characteristics described in a certain embodiment may be combined in any suitable manner in one or more other embodiments, while still complying with the technical idea of the invention.
In describing particular embodiments, specific details of structures, properties, effects, or other features are set forth in order to provide a thorough understanding of the embodiments by one skilled in the art. However, it is not excluded that a person skilled in the art may implement the invention in a specific case without the above-described structures, performances, effects or other features.
The flow chart in the drawings is only an exemplary flow demonstration, and does not represent that all the contents, operations and steps in the flow chart are necessarily included in the scheme of the invention, nor does it represent that the execution is necessarily performed in the order shown in the drawings. For example, some operations/steps in the flowcharts may be divided, some operations/steps may be combined or partially combined, and the like, and the execution order shown in the flowcharts may be changed according to actual situations without departing from the gist of the present invention.
The block diagrams in the figures generally represent functional entities and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The same reference numerals denote the same or similar elements, components, or parts throughout the drawings, and thus, a repetitive description thereof may be omitted hereinafter. It will be further understood that, although the terms first, second, third, etc. may be used herein to describe various elements, components, or sections, these elements, components, or sections should not be limited by these terms. That is, these phrases are used only to distinguish one from another. For example, a first device may also be referred to as a second device without departing from the spirit of the present invention. Furthermore, the term "and/or", "and/or" is intended to include all combinations of any one or more of the listed items.
Referring to fig. 1, fig. 1 is a flowchart of a method for compressing a Web-side picture according to the present invention. The Web end was developed based on HTML5, as shown in fig. 1, the method comprising:
s1, reading the picture content and the size through a FileReader;
the picture content is picture data in units of pixels, and the picture size is data representing the size of a picture, and may be specifically the length and width of the picture.
H5 defines FileReader as a file interface for reading files. The FileReader interface provides a method for reading files and an event model containing reading results. FileReader objects allow files or data to be specified for reading using File or Blob objects. The File object may be a FileList object returned by a user after selecting a File on an < input > element, a DataTransfer object generated by a user drag and drop operation, or a result returned by the user after executing a mozgetaslfile () method on an html canvas element.
As a preferred mode, the invention reads the picture content and size through an Input element of the FileReader, that is, reads the picture content and size to be uploaded through an Input type ═ file >. (ii) a
Furthermore, after the FileReader is used for reading the picture, an Image object is created, and the content and the size of the picture read by the FileReader are stored in the Image object, so that subsequent data operation is facilitated.
In addition, after the picture content and the picture size are read, the picture can be previewed. The FileReader interface can asynchronously access data in a file system from a browser, and the result is expressed in a character string form of data: url. Therefore, the FileReader interface can read the data in the file and place the read data into the memory. File data asynchronously read by the API can be obtained through readAsDataURL () in the FileReader interface and stored as data URL; and binding the URL to the src attribute of the img label to realize the preview effect of the picture.
S2, judging whether the picture size is larger than a preset picture size;
the preset picture size can be set according to the uploading speed of the picture. For example, a picture size with an upload speed of 5s in a standard network environment may be taken as the preset picture size. The standard network environment may be a 5G network, a 100 megabyte broadband network, etc.
Specifically, the preset picture size may be stored in advance, and after the picture size is obtained from the Image object, the preset picture size is compared with the picture size in the Image object, so as to determine whether the picture size in the Image object is larger than the preset picture size.
S3, if the picture size is larger than the preset picture size, compressing the picture content through canvas;
wherein canvas is a component in H5, and can be regarded as a piece of canvas on which various diagrams, animations, etc. can be drawn by JavaScript. It can not only draw basic shapes and texts, but also realize high-level operations such as animation, zooming, various filters and pixel conversion.
The present invention draws by creating an invisible canvas. The canvas of the canvas corresponds to cvs in the code, and the width and height of the canvas can be set according to the size of the picture to be compressed; the drawing environment of a canvas corresponds to ctx in the code. Getcontext ('2d'), may set fillStyle, fillRect, etc. Specifically, the Image object is compressed in an equal ratio by the canvas of the canvas itself, so as to complete the picture scaling.
S4, outputting data of a specified picture format through canvas;
since canvas is only one piece of canvas, after the picture scaling is completed in canvas, the picture can be normally displayed only by outputting the scaled picture as data in picture format.
In one example, Blob-formatted data is output by canvas. Specifically, Blob-formatted data is output by canvas. The first default parameter of the callback is the data in the converted blob format.
In another example, data in base64 format is output by canvas. Specifically, the picture can be converted into data in base64 format by canvases. The mimeType represents the type of base64 picture derived from canvas, and the default is png format, that is, the default is "image/png". In addition, the mimeType is also specified in jpg format, i.e., "image/jpeg"; or the mimeType is specified in a format such as webp. The quality adjustment indicates the derived picture quality, and the parameter is valid only when the parameter is derived into jpg and webp formats, and the default value is 0.92, which is a reasonable picture quality output parameter.
And S5, uploading the data of the specified picture format to a server.
If the Blob-format data is output in step S4, uploading the Blob-format data to the server through the FormData object in H5;
if the data in the base64 format is output in step S4, the data in the base64 format is uploaded to the server through ajax. Or; creating a Blob object, storing the data in the base64 format into the Blob object to obtain the data in the Blob format, and uploading the data in the Blob format to a server through a FormData object.
Fig. 2 is a schematic diagram of an architecture of a Web-side picture compression apparatus according to the present invention, where the Web-side is developed based on H5, and as shown in fig. 2, the apparatus includes:
the reading module 21 is used for reading the picture content and the size through a FileReader;
the judging module 22 is configured to judge whether the picture size is larger than a preset picture size;
the compression module 23 is configured to compress the picture content by canvas if the picture size is larger than a preset picture size;
an output module 24, configured to output data in a specified picture format through canvas;
and the uploading module 25 is configured to upload the data in the specified picture format to a server.
In one embodiment, the reading module 21 reads the picture content and the size through an Input of FileReader.
The compression module 23 performs geometric compression on the Image object by using canvas.
In one embodiment, the output module 24 outputs Blob-formatted data via canvas. The uploading module 25 uploads the Blob format data to a server through a FormData object;
in another embodiment, the output module 24 outputs data in base64 format via a canvas. The uploading module 25 uploads the data in base64 format to the server through ajax; or; the uploading module 25 creates a Blob object, stores the data in the base64 format into the Blob object to obtain the data in the Blob format, and uploads the data in the Blob format to the server through the FormData object.
Further, the apparatus further comprises:
the creation module is used for creating an Image object;
and the storage module is used for storing the picture content and the size read by the FileReader into the Image object.
Those skilled in the art will appreciate that the modules in the above-described embodiments of the apparatus may be distributed as described in the apparatus, and may be correspondingly modified and distributed in one or more apparatuses other than the above-described embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
In the following, embodiments of the electronic device of the present invention are described, which may be regarded as an implementation in physical form for the above-described embodiments of the method and apparatus of the present invention. Details described in the embodiments of the electronic device of the invention should be considered supplementary to the embodiments of the method or apparatus described above; for details which are not disclosed in embodiments of the electronic device of the invention, reference may be made to the above-described embodiments of the method or the apparatus.
Fig. 3 is a block diagram of an exemplary embodiment of an electronic device according to the present invention. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 3, the electronic apparatus 300 of the exemplary embodiment is represented in the form of a general-purpose data processing apparatus. The components of electronic device 300 may include, but are not limited to: at least one processing unit 310, at least one memory unit 320, a bus 330 connecting different electronic device components (including the memory unit 320 and the processing unit 310), a display unit 340, and the like.
The storage unit 320 stores a computer readable program, which may be a code of a source program or a read-only program. The program may be executed by the processing unit 310 such that the processing unit 310 performs the steps of various embodiments of the present invention. For example, the processing unit 310 may perform the steps as shown in fig. 1.
The storage unit 320 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)3201 and/or a cache storage unit 3202, and may further include a read only memory unit (ROM) 3203. The storage unit 320 may also include a program/utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including, but not limited to: operating the electronic device, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 330 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 300 may also communicate with one or more external devices 100 (e.g., keyboards, displays, networking devices, bluetooth devices, etc.), enable a user to interact with the electronic device 300 via the external devices 100, and/or enable the electronic device 300 to communicate with one or more other data processing devices (e.g., routers, modems, etc.). Such communication may occur via input/output (I/O) interfaces 350, and may also occur via a network adapter 360 to one or more networks, such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet. Network adapter 360 may communicate with other modules of electronic device 300 via bus 330. It should be appreciated that although not shown in FIG. 3, other hardware and/or software modules may be used in electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID electronics, tape drives, and data backup storage electronics, among others.
FIG. 4 is a schematic diagram of one computer-readable medium embodiment of the present invention. As shown in fig. 4, the computer program may be stored on one or more computer readable media. The computer readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electronic device, apparatus, or device that is electronic, magnetic, optical, electromagnetic, infrared, or semiconductor, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. The computer program, when executed by one or more data processing devices, enables the computer-readable medium to implement the above-described method of the invention, namely: reading the content and the size of the picture through a FileReader; judging whether the picture size is larger than a preset picture size; if the picture size is larger than the preset picture size, compressing the picture content through canvas; outputting data of a specified picture format through canvas; and uploading the data in the specified picture format to a server.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments of the present invention described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a data processing device (which can be a personal computer, a server, or a network device, etc.) execute the above-mentioned method according to the present invention.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution electronic device, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including object oriented programming languages such as Java, C + + or the like and conventional procedural programming languages, such as "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In summary, the present invention can be implemented as a method, an apparatus, an electronic device, or a computer-readable medium executing a computer program. Some or all of the functions of the present invention may be implemented in practice using a general purpose data processing device such as a microprocessor or a Digital Signal Processor (DSP).
While the foregoing embodiments have described the objects, aspects and advantages of the present invention in further detail, it should be understood that the present invention is not inherently related to any particular computer, virtual machine or electronic device, and various general-purpose machines may be used to implement the present invention. The invention is not to be considered as limited to the specific embodiments thereof, but is to be understood as being modified in all respects, all changes and equivalents that come within the spirit and scope of the invention.

Claims (9)

1. A method for compressing a Web-side picture, wherein the Web-side picture is developed based on HTML5, and the method comprises the following steps:
reading the content and the size of the picture through a FileReader;
judging whether the picture size is larger than a preset picture size;
if the picture size is larger than the preset picture size, compressing the picture content through canvas;
outputting data of a specified picture format through canvas;
and uploading the data in the specified picture format to a server.
2. The method of claim 1, wherein the picture content and size are read through Input of FileReader.
3. The method according to any one of claims 1-2, wherein after reading the picture content and size through a FileReader, the method further comprises:
creating an Image object;
and storing the picture content and the size read by the FileReader into an Image object.
4. The method according to any one of claims 1 to 3,
the Image object is compressed by canvas.
5. The method according to any one of claims 1 to 4,
output Blob-formatted data via canvas.
Alternatively, data in base64 format is output via canvas.
6. The method according to any one of claims 1-5, wherein if the data in the Blob format is output, the data in the Blob format is uploaded to a server through a FormData object;
if the data in the base64 format is output, uploading the data in the base64 format to the server through ajax; or; creating a Blob object, storing the data in the base64 format into the Blob object to obtain the data in the Blob format, and uploading the data in the Blob format to a server through a FormData object.
7. A Web-side picture compression apparatus, wherein the Web-side is developed based on HTML5, the apparatus comprising:
the reading module is used for reading the content and the size of the picture through a FileReader;
the judging module is used for judging whether the picture size is larger than a preset picture size;
the compression module is used for compressing the picture content through canvas if the picture size is larger than the preset picture size;
the output module is used for outputting data in a specified picture format through canvas;
and the uploading module is used for uploading the data in the specified picture format to a server.
8. An electronic device, comprising:
a processor; and
a memory storing computer-executable instructions that, when executed, cause the processor to perform the method of any of claims 1-6.
9. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of claims 1-6.
CN202110131304.1A 2021-01-30 2021-01-30 Web side picture compression method and device and electronic equipment Pending CN112954030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110131304.1A CN112954030A (en) 2021-01-30 2021-01-30 Web side picture compression method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110131304.1A CN112954030A (en) 2021-01-30 2021-01-30 Web side picture compression method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112954030A true CN112954030A (en) 2021-06-11

Family

ID=76240555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110131304.1A Pending CN112954030A (en) 2021-01-30 2021-01-30 Web side picture compression method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112954030A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113505108A (en) * 2021-07-09 2021-10-15 苏州万店掌网络科技有限公司 Canvas-based picture compression processing method and device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150379380A1 (en) * 2014-06-30 2015-12-31 Canon Kabushiki Kaisha Information processing apparatus, information processing method, and storage medium storing program
CN106354491A (en) * 2016-08-22 2017-01-25 天脉聚源(北京)教育科技有限公司 Picture processing method and device
CN109360149A (en) * 2018-09-25 2019-02-19 平安普惠企业管理有限公司 A kind of picture upload method, system and terminal device
CN109547533A (en) * 2018-10-26 2019-03-29 深圳点猫科技有限公司 A kind of mobile terminal the html5 picture upload preprocess method and electronic equipment of educational system
CN109918427A (en) * 2019-01-16 2019-06-21 平安普惠企业管理有限公司 Picture uploads control method, device, computer equipment and storage medium
CN111124234A (en) * 2019-12-31 2020-05-08 北京五八信息技术有限公司 Picture display method and picture display device
CN112256990A (en) * 2020-09-01 2021-01-22 北京沃东天骏信息技术有限公司 Image processing method and device and computer readable storage medium
CN112487396A (en) * 2020-12-08 2021-03-12 平安国际智慧城市科技股份有限公司 Picture processing method and device, computer equipment and storage medium
CN112860336A (en) * 2021-01-26 2021-05-28 重庆广播电视大学重庆工商职业学院 File scanning preview and file uploading method for Web application

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150379380A1 (en) * 2014-06-30 2015-12-31 Canon Kabushiki Kaisha Information processing apparatus, information processing method, and storage medium storing program
CN106354491A (en) * 2016-08-22 2017-01-25 天脉聚源(北京)教育科技有限公司 Picture processing method and device
CN109360149A (en) * 2018-09-25 2019-02-19 平安普惠企业管理有限公司 A kind of picture upload method, system and terminal device
CN109547533A (en) * 2018-10-26 2019-03-29 深圳点猫科技有限公司 A kind of mobile terminal the html5 picture upload preprocess method and electronic equipment of educational system
CN109918427A (en) * 2019-01-16 2019-06-21 平安普惠企业管理有限公司 Picture uploads control method, device, computer equipment and storage medium
CN111124234A (en) * 2019-12-31 2020-05-08 北京五八信息技术有限公司 Picture display method and picture display device
CN112256990A (en) * 2020-09-01 2021-01-22 北京沃东天骏信息技术有限公司 Image processing method and device and computer readable storage medium
CN112487396A (en) * 2020-12-08 2021-03-12 平安国际智慧城市科技股份有限公司 Picture processing method and device, computer equipment and storage medium
CN112860336A (en) * 2021-01-26 2021-05-28 重庆广播电视大学重庆工商职业学院 File scanning preview and file uploading method for Web application

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113505108A (en) * 2021-07-09 2021-10-15 苏州万店掌网络科技有限公司 Canvas-based picture compression processing method and device and storage medium

Similar Documents

Publication Publication Date Title
CN107465954B (en) The generation method and Related product of dynamic thumbnail
JP5306429B2 (en) Method for digital document processing
JP5290487B2 (en) System and method for digital document processing
US9542501B2 (en) System and method for presenting content in a client/server environment
US20080270890A1 (en) Formatting and compression of content data
CN110309451A (en) A kind of web preloads the generation method and device of the page
CN110633436A (en) Visualization and user-defined panorama editing method, system, storage medium and equipment
CN113382083B (en) Webpage screenshot method and device
CN111651966A (en) Data report file generation method and device and electronic equipment
CN115914526A (en) BIM (building information modeling) model visualization method, device, equipment and medium based on cloud rendering
CN115510347A (en) Presentation file conversion method and device, electronic equipment and storage medium
CN112954030A (en) Web side picture compression method and device and electronic equipment
CN117076811A (en) Webpage export method, device, equipment and storage medium
CN113608706A (en) Method for printing tickets in government affair hall and storage medium
KR20100036156A (en) Method and apparatus for providing rich-media service
CN115587075B (en) Layout file processing method and device, terminal equipment and storage medium
CN115659087B (en) Page rendering method, equipment and storage medium
CN111447219B (en) Image display method and device, storage medium and computer equipment
CN112596732A (en) Electronic teaching material manufacturing method and system
CN113742284A (en) Method and system for converting OFD file into picture based on Java
KR20080048698A (en) Method for open vector graphic contents creation and computer readble record medium on which the method is recorded
CN116955740A (en) Document browsing method, device, equipment and storage medium
CN117234393A (en) Multi-terminal one-key long screen export method and system
CN113343135A (en) Method and device for picture synthesis video and electronic equipment
CN113744363A (en) Webpage screenshot method and webpage screenshot device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210611