Skip to main content

Questions tagged [compression]

The tag has no usage guidance.

3 votes
0 answers
57 views

How to improve Burrows-Wheeler Transform performance?

I have implemented the Burrows-Wheeler Transform as below: ...
flinty's user avatar
  • 25.6k
1 vote
1 answer
63 views

Compressing a file's name string

I was working with files where each name records a lot of information about what is in its respective file and wanted to compress it a little bit. So I wanted to change it's 'base'. And I noticed that ...
Teg Louis's user avatar
1 vote
0 answers
60 views

Speed limitations when importing files from .zip archive

I have .m files with a total size of ~500 MB. Their import is really fast, within less than 1 second. In contrast, I may pack them into a .zip archive. The importing then is much slower, ~20 s. ...
John Taylor's user avatar
  • 5,887
3 votes
1 answer
130 views

Optimized GIF 20s for 85kb for Mathematica Code Demonstration

I’m new here this is my first post on Stack Exchange. In the thread below, I see that a GIF file is highly optimized (20s for 85kb) with no noticeable compromise in resolution. It appears to be the ...
StrixISL's user avatar
0 votes
0 answers
33 views

Updating a compressed Boolean 1D array, without uncompressing

I iterate through a process, each time generating a new number between 1 and a very large number (10^15 or larger). I am waiting for any number to repeat. Clearly a 1D Boolean array (starting out all ...
Aharon Naiman's user avatar
3 votes
0 answers
165 views

OpenRead with Method->"GZIP"

Aim I'm trying to "Low level" read data from a large "GZIP" file as an InputStream. Previous answeers I ...
Niels Walet's user avatar
5 votes
1 answer
327 views

How can I compress DICOM images?

I have 193 dcm files in a folder. I will like to combine these images into .dcm.gz format (e.g. images.dcm.gz) and I was wondering how this could be done in Mathematica. Thank you in anticipation of ...
Dean's user avatar
  • 655
6 votes
1 answer
311 views

How to compress a string in Mathematica so that it can decompressed in python

I need to compress a string into some format so that I can pass it along on the command line and avoid writing it to file (which would require locking files to prevent simultaneous writes so I prefer ...
Kvothe's user avatar
  • 4,591
0 votes
1 answer
140 views

Import CSV data from internet to mathematica [closed]

This Link has data in CSV format for 2015 and other years. I would like to get the data for 2015 (by clicking on 2015) but the CSV data format has more rows than Excel can handle and therefore the ...
Tugrul Temel's user avatar
  • 6,233
2 votes
1 answer
41 views

Compression results in unpacking of integers but not reals

Consider the following; Pack some integers. In[287]:= Clear[p5i, p5ic, p5icu, p5r, p5rc, p5rcu] In[288]:= p5i = ToPackedArray@Range@5 Out[288]= {1, 2, 3, 4, 5} ...
RobertNathaniel's user avatar
5 votes
1 answer
174 views

Import ZIP file options broken in Mathematica 12.2.0

I am trying to read a zipped table, which has its entries separated by colons. In Mathematica 12.1.1 (and earlier) this worked well with the following command: ...
hippo3773's user avatar
  • 1,246
4 votes
2 answers
176 views

How to deal with zip files in the wolfram cloud?

I have a zip file in the cloud but I can't seem to unzip it! ...
M.R.'s user avatar
  • 31.6k
14 votes
0 answers
784 views

Is it possible to use better modern compression algorithm instead of zlib in Mathematica for efficient data saving and loading?

Some backgrouds of my problem: Recently, I had a heavy data analysis work to do. Each day I got thousands of csv Files(colums with different datatype) with total several Gigabytes. I have to ...
matheorem's user avatar
  • 17.2k
1 vote
0 answers
276 views

How to uncompress zip file fast with Mathematica?

What is the fastest possibilty to uncompress zip files with the following content? It containes numbered ".png" files, corresponding ".header" files (theses are text files) and a file called "...
lio's user avatar
  • 2,396
11 votes
2 answers
909 views

Efficient way to storage large lists in a file(s)

Let us assume that I need to storage in a file, or files, data with the following form ...
An old man in the sea.'s user avatar

15 30 50 per page