Outline: Compress large images for better performance

Created on 1 Jul 2020  路  3Comments  路  Source: outline/outline

With time and the use of many images it can make the project become heavy. For that I imagine using some node library that compresses the size of the images.

Ref:
https://github.com/lovell/sharp

idea

Most helpful comment

I updated the title of this issue for clarity

All 3 comments

it can make the project become heavy

Could you say more about this? I'm not sure what you mean 鈥撀爄mages are uploaded directly from the client -> storage without going through the node application or being altered at the moment.

Just what I imagined after the image upload it goes through an instance of Sharp (or similar) and only after going to storage. With that any image sent will be compressed occupying less space in bytes of storage.

I updated the title of this issue for clarity

Was this page helpful?
0 / 5 - 0 ratings

Related issues

carvalhorafael picture carvalhorafael  路  5Comments

paladini picture paladini  路  3Comments

compengsamit picture compengsamit  路  6Comments

tommoor picture tommoor  路  3Comments

tommoor picture tommoor  路  4Comments