#Images compression and Its URLs

30 messages · Page 1 of 1 (latest)

elfin sequoia
#

I noticed that Appwrite has a built-in compression algorithm for files. However, when I created a new file after creating the bucket and enabled the Zstd algorithm for compression, it did not change the file size. Is there a configuration I forgot to set? When does the compression start?
My second question is: there is a URL for the file in the bucket so, is there a way to get this URL from the SDK? Because the get_file method did not send this attribute.

daring ingot
lunar jolt
elfin sequoia
#

My file's size on my desktop

#

The file's size on the storage

#

So, I understand that the compression starts immediately After I upload the file

lunar jolt
elfin sequoia
lunar jolt
elfin sequoia
lunar jolt
#

have you tried manually compressing with Zstd locally?

dull veldt
#

Is compression done to all files or files>30mb

lunar jolt
elfin sequoia
#

I am going to try it locally

elfin sequoia
lunar jolt
# elfin sequoia

So the size here is the original size, not the compressed size

#

Can you look in the database, or the file on disk?

elfin sequoia
vestal drift
balmy loom
#

I wanted to try this out and the compressed files size on disk is even larger than before uploading?

#

Disregard my last comment as I had encryption enabled for the bucket. But now with encryption disabled the files are still the same size (disk and console)

#

the original uploaded files are 2,1MB and 491KB so the compression doesn't seem to do much

lunar jolt