简体   繁体   English

如何在使用jquery上传之前在客户端压缩文件(例如pdf)?

[英]How to compress the file(such as pdf) in client side before upload using jquery?

How to compress a file (such as pdf) in client side before upload using jquery?如何在使用jquery上传之前在客户端压缩文件(例如pdf)?

I don't get any best idea or answer about this question from previous solutions.我没有从以前的解决方案中得到关于这个问题的任何最佳想法或答案。

Maybe you can use gzip-js也许你可以使用gzip-js

The main goal of this project is to bring GZIP compression to the browser.该项目的主要目标是为浏览器带来 GZIP 压缩。

But if you use this, you also should decompress gzipped file on server-side.但是如果你使用它,你还应该在服务器端解压 gzip 文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在客户端上载许多文件并进行压缩,然后在服务器上载压缩文件 - Upload many file on client side and compress it then upload compress file on server 在上传到客户端之前,如何使用jquery或javascript将image dataUrl转换为[objec文件] - how to convert image dataUrl into [objec file] using jquery or javascript before upload for client side 在使用 JIC 库上传到服务器之前从客户端压缩多个图像 - compress multiple images from client side before upload to the server using JIC library 上传/下载之前/之后的客户端(javascript / jQuery)文件操作 - Client side (javascript/jQuery) file manipulation before/after upload/download 压缩文件(客户端)并上传 - Compress files (client side) and upload 在客户端上载之前进行文件压缩 - File compression before upload on the client-side 使用send时,jquery文件上传没有调整图像客户端的大小 - jquery file upload not resizing images client side when using send 如何使用JavaScript或jQuery将html页面导出到客户端的pdf? - How to export a html page to pdf in client side using JavaScript or jQuery? 大JSON文件-如何在服务器中压缩和在客户端解压缩? - Big JSON file - how to compress in the server and decompress in the client side? 如何使用ExtJS客户端上传和处理CSV文件 - How to upload and process CSV File using ExtJS Client Side
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM