damus icon indicating copy to clipboard operation
damus copied to clipboard

Image Proxy

Open alltheseas opened this issue 1 year ago • 6 comments

user story

As a Damus media user, I would like Damus to automagically optimize images and videos for me, so that I don't have to download huge files over and over again.

acceptance criteria

  1. TBC

cc @jb55

Kieran has an image proxy

alltheseas avatar Mar 25 '24 16:03 alltheseas

#1981 dignifai can be a dedicated image proxy

@danieldaquino mentions this should be labeled as modified by AI/algo

alltheseas avatar Mar 25 '24 16:03 alltheseas

Can be google/apple "magic" icon that says

here is what we changed

e.g. porn, fake etc.

alltheseas avatar Mar 25 '24 16:03 alltheseas

@danieldaquino is this related to #1717

alltheseas avatar Apr 13 '24 16:04 alltheseas

@danieldaquino is this related to #1717

@alltheseas, no, this is different.

  • #1717 is about caching video data on the local device so that it does not have to download the same video twice in a day or so
  • This one is about having a server somewhere that can reduce the image size before it gets to the client app. For example, imagine example.com/image.png is a huge 20MB image. Without a proxy, the user needs to download that whole image and spend 20MB of data. With a proxy, you can ask it: "Hey proxy, please give me that image from example.com/image.png, but I only need it to be 640px wide", and then the proxy will download the 20MB image, shrink it down to be 640px wide, and pass the shrunk image (let's say it's now 800KB), and pass that to the user. The user in this case only spends 800KB of their data plan, instead of 20MB

danieldaquino avatar Apr 17 '24 17:04 danieldaquino

Love it, thanks for confirming. Adding as placeholder for 2.0 milestone, as I think we have accumulated quite the backlog for 1.9.

alltheseas avatar Apr 17 '24 19:04 alltheseas

Should fix:

  • #1059

jb55 avatar Feb 26 '25 17:02 jb55