You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I have a site where people upload images but these images may be quite large (e.g. 10-20MB) for no good reason. I'm wondering if anyone has ever figured out a way to say "If the image is greater than 1MB, compress it until it's around 1MB". It wouldn't need to be perfect obviously, (e.g. 1.1MB is fine) but I'm ok with a little quality loss in this use case.
Does anyone have any ideas on how I could accomplish this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So I have a site where people upload images but these images may be quite large (e.g. 10-20MB) for no good reason. I'm wondering if anyone has ever figured out a way to say "If the image is greater than 1MB, compress it until it's around 1MB". It wouldn't need to be perfect obviously, (e.g. 1.1MB is fine) but I'm ok with a little quality loss in this use case.
Does anyone have any ideas on how I could accomplish this?
Beta Was this translation helpful? Give feedback.
All reactions