Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compress the contents of a cloud object that contains a Wolfram Language expression
ResourceFunction["CompressCloudObject"][obj] compresses the contents of the CloudObject obj. | |
ResourceFunction["CompressCloudObject"][obj,target] compresses a copy of obj at target. |
Compress the contents of a CloudObject:
In[1]:= | ![]() |
Out[3]= | ![]() |
In[4]:= | ![]() |
Out[4]= | ![]() |
The size of the CloudObject is reduced:
In[5]:= | ![]() |
Out[5]= | ![]() |
The content is preserved:
In[6]:= | ![]() |
Out[6]= | ![]() |
In[7]:= | ![]() |
Out[7]= | ![]() |
Specify a target location:
In[8]:= | ![]() |
Out[8]= | ![]() |
In[9]:= | ![]() |
Out[9]= | ![]() |
The original file remains unchanged:
In[10]:= | ![]() |
Out[10]= | ![]() |
The new file is much smaller:
In[11]:= | ![]() |
Out[11]= | ![]() |
The content of the compressed CloudObject is an unevaluated Uncompress expression:
In[12]:= | ![]() |
Out[13]= | ![]() |
In[14]:= | ![]() |
Out[14]= | ![]() |
In[15]:= | ![]() |
Out[15]= | ![]() |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License