Category "compression"

FileZip compression with cancellation

How to cancel long running compression task and release all resources when using ZipFile.CreateFromDirectory or other ZipFile compression methods in C#. Couldn'

Poco addRecursive Not Returning to Normal Program Flow

I implemented Poco in my C++ application for Windows in VS 2019 using tips from this post: How to use Poco::ZIP to compress/decompress zip file I have figured o

too big and bad quality image uploads from react-native expo

I am building an app where employees should be able to upload pictures for a product catalog for a website. The application is built with expo react-native and

Compressing a collection of ISO files with similar content

I have a large collection of ISO files (around 1GB each) that have shared 'runs of data' between them. So, for example, one of the audio tracks may be the same

How to compress a C++ string using Zstd?

I'm very new to C++ and I wanted to compress a std:string object via Zstd compression library, but so far I couldn't find a C++ sample code for this purpose by

Python's zipfile library can't extract password protected file

For some reason, Python's zipfile library cannot extract the files in this password-protected zipfile archive. Here is the code I used: import zipfile zip_file

decompress a doc file using LZS algorithm

https://github.com/sgherro/Exercises-cpp/blob/89bbd78eeac9666ed20f083ebf116e693a8c23ce/Lempel-Ziv-Stac/main.cpp I am using this algorithm to decompress my doc f

Adding a directory to an existing .zip file

First of all I would like to say that i've tried looking for the solution to this and I haven't found one where I don't have to unzip, add my folder and then zi

s3 - auto compression before transfer

I want to know : If any available tool by default compress and transfer file to S3 or tool has option to compress and transfer file to S3 or I have to call py

Compression of RGB-D video from a Kinect camera

I need to send video from a Kinect camera through a network. I'm capturing video from the following two Kinect sources: 2D color video (RGB). 32 bits per pixel.

In python, if extract a tar.gz file, how to get or set the name of the result file

My question is like: when use: import tarfile tar = tarfile.open("sample.tar.gz") tar.extractall() tar.close() if the file before compress called "sampleFol

Compress image at client side (angularjs) and upload to server(nodejs)

I am using ng-file-upload directive to upload files to nodejs in my application. Now, I am trying to compress the image before uploading. To do that I have trie

How to compress web service response json in ajax call

I am using asmx web service and calling it through ajax as $.ajax({ url: 'xxxxxxx.asmx/Getxxxxxxxx', method: 'post', contentT

Reading a large compressed file using Apache Commons Compress

I'm trying to read a bz2 file using Apache Commons Compress. The following code works for a small file. However for a large file (over 500MB), it ends after

Compress string with GZip using qCompress?

I have a string of hex data (0a000a0165787a... etc) that I write to a file like this: void Output(QString FilePath, QString Output) { QFile file(FilePath);

Dart Compress Uint8List Image

How do I compress a Uint8List image? The purpose to to get a smaller size (length in bytes). I'm trying to avoid converting the Uint8List to File before compres

How can I estimate the compressibility of a file without compressing it?

I'm using an event loop based server in twisted python that stores files, and I'd like to be able to classify the files according to their compressibility. If

How to efficiently predict if data is compressible

I want to write a storage backend to store larger chunks of data. The data can be anything, but it is mainly binary files (images, pdfs, jar files) or text file