Skip to main content

Questions tagged [compression]

Filter by
Sorted by
Tagged with
3 votes
1 answer
190 views

For single variate partial fraction decompositions, Apart can do it. What if multivariate partial fraction decompositions? Should I use Singular's pfd.lib or Sage? ...
Ahamad's user avatar
  • 1
0 votes
0 answers
85 views

Is the data generated by the Compress function in Mathematica unique? I’m considering using it to identify duplicates because it reduces memory usage significantly, ...
internet's user avatar
  • 1,417
3 votes
0 answers
118 views

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

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 ...
Romogi's user avatar
  • 687
1 vote
0 answers
94 views

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
  • 6,063
3 votes
1 answer
194 views

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
56 views

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
242 views

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
415 views

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
429 views

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,931
0 votes
1 answer
188 views

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,439
2 votes
1 answer
90 views

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
232 views

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,294
4 votes
2 answers
235 views

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

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.7k
1 vote
0 answers
356 views

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,426
13 votes
2 answers
1k views

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
2 votes
1 answer
410 views

I know that one can archive data with Mathematica using: CreateArchive[source,path] I have a lot of folders (folder1, folder2,folder2 etc.) that I would like to ...
james's user avatar
  • 3,103
1 vote
1 answer
229 views

I need to compress the TIFF figure "p5"(originally around 25 mb) in to less than 1 mb or as small as possible with constant resolution of 600 dpi. ...
rabink's user avatar
  • 111
6 votes
1 answer
377 views

I want to embed a compressed image in a notebook so that only an icon is visible (and not the whole image). The following procedure seems to work : ...
andre314's user avatar
  • 19.6k
1 vote
0 answers
37 views

CreateArchive["C:\\temp out\\"] The above creates a zip file containing directory temp out at level 1, but I require just the ...
Chris Degnen's user avatar
  • 31.4k
6 votes
0 answers
495 views

Mathematica has the handy CreateArchive function, which allows you to efficiently create a TAR archive from a directory. However, I see no way of specifying not to ...
Fidel I. Schaposnik's user avatar
12 votes
3 answers
288 views

By "low-complexity list" I mean a list like the following: lcl = {17, 17, 17, 17, 17, 21, 21, 21, 21, 21, 21, 21, 21, 11, 11, 11, 11, 11, 11, 11} ...
kjo's user avatar
  • 11.9k
5 votes
1 answer
602 views

When calling the Stack Exchange API v2.2 using the new (Mma11) function URLRead we get a GZIP encoded Body in alternative formats: ...
rhermans's user avatar
  • 37.7k
9 votes
1 answer
248 views

Mathematica Stack Exchange accepts HTML in the questions, and therefore text such as <undefined rubbish> should be ignored when formatting the question for ...
rhermans's user avatar
  • 37.7k
22 votes
1 answer
401 views

Compressed strings are often used to exchange Mathematica expressions on the Internet. It is, however, not easy to see what such expression will do after decompression. Resulting code can perform ...
Ray Shadow's user avatar
  • 7,966
27 votes
4 answers
1k views

11.1 introduced a new function BinarySerialize, but I don't know what it can do better than the traditional method.Its behavior is very similar to ...
yode's user avatar
  • 27.8k
7 votes
1 answer
462 views

The Wolfram Blog article "The Semantic Representation of Pure Mathematics", by Eric Weisstein and Ian Ford (http://blog.wolfram.com/2016/12/22/the-semantic-representation-of-pure-mathematics/) has a ...
murray's user avatar
  • 12.2k
9 votes
2 answers
452 views

I want to write data to a file using compression. Is it possible to do that just in time (like in java ZipOutputStream). E.g. what I want: ...
Stanislav Poslavsky's user avatar
0 votes
0 answers
236 views

I have a zip file which contains an access database file (mdb format). How do I extract the database and the headers and convert them to association format? I know the command for doing that ...
Kaa1el's user avatar
  • 571
14 votes
1 answer
261 views

Bug introduced in 9.0 or earlier and persisting through 11.0.1 or later From the Interval documentation: For approximate machine- or arbitrary-precision numbers x,...
Vladimir Reshetnikov's user avatar
25 votes
2 answers
2k views

Compress and Uncompress are used internally by Mathematica to compress things like 3D data in notebook files - data that I'd ...
Andy C.'s user avatar
  • 633
0 votes
1 answer
185 views

This straightforward approach doesn't seem to work: In[42]:= cmd = StringSplit@"zip -r ~/data.zip ~/test/*" In[43]:= RunProcess@cmd Related: How can I encrypt/...
M.R.'s user avatar
  • 31.9k
13 votes
2 answers
2k views

I'm writing an importer for the GIFTI file format. The details of the format are not particularly important, but the basic idea is that it is a relatively simple XML file which includes binary arrays ...
nben's user avatar
  • 2,178
6 votes
1 answer
631 views

At times, we as questioners would like to post huge Mathematica-expressions to websites (e.g. mathematica.stackexchange.com), or have an easy way to get such code from a site. Above a certain size, <...
Jinxed's user avatar
  • 3,753
8 votes
2 answers
404 views

Using Compress is a good idea to save memory when working with large expressions. The problem is that Compressing large ...
tchronis's user avatar
  • 2,465
4 votes
0 answers
176 views

Importing a ZIP file containing potentially many individual files in a (custom) format using Import[filename, {{"*"}, "Gaussian"}] takes quite a while. How can I ...
mrupp's user avatar
  • 777
4 votes
0 answers
1k views

I would like to use Mathematica to create compressed .avi video files from image sequences. I read the documentation on .avi but couldn't find a solution. In the documentation it says: Internal`$...
g3kk0's user avatar
  • 3,338
0 votes
1 answer
4k views

I saved a expresion to a file like this Export["file.dat",Compress@myExpression]; Then (i don't know why) when I import the file i get the compressed expresion ...
José D.'s user avatar
  • 1,135
17 votes
4 answers
2k views

The following problem is one that may have showed up to you while plotting a large data collection. Suppose you have a data set of say 1 million points. ListLinePlot...
jmlopez's user avatar
  • 6,560
15 votes
4 answers
2k views

I would like to export data in HDF5 format with Mathematica 9. The Mathematica manual about Import and Export of this format can be read here. As I'm dealing with large arrays, export often lead to ...
max's user avatar
  • 1,605
7 votes
2 answers
1k views

I'm trying to reduce transfer time when accessing rows of a mysql table over a network, where each row has a lot of data. Is there a way to enable client-server compression when accessing a mysql ...
JxB's user avatar
  • 5,151
3 votes
2 answers
279 views

I have data in a rectangular structure – something like matrix={{a,b,c},{d,e,f},{g,h,i}}. The problem is that some of the columns consist of uncompressed data and ...
RMMA's user avatar
  • 2,810