1

Hummm, why it's slower to save the image than load the image in devRant?

Because of that, i perfer to take a screenshot to save it....

Comments
  • 1
    Internets, mostly.
  • 1
    Sticking with the weekly topic, have we considered getting rid of the dependency on internet?
  • 0
    It may be your internet
  • 1
    @SortOfTested
    @SavvyArbitrary

    I think it's not... it's always true under both Wi-Fi and Cellular Data, I ping'd devrant dot com, 300ms in average...

    oh, and, i'm in China mainland, is it related to this?
  • 5
    @juliandroid
    I'm surprised they allow this app through the great firewall at all.

    I will refrain from posting Winnie the Pooh memes.
  • 4
    Saving images causes the app to watermark it with "found on devrant"
  • 1
    For example.
    Sorry first image down the feed.
  • 1
    @C0D4 Got it. Thanks a lot👍
  • 0
    @C0D4 that should most probably be the reason

    Also, one would wonder why add a watermark on a picture that is partially lossy ;-)
  • 0
    This is turned out that

    When loading the image, it uses (sub domain "image")$rant/$image_path

    But when downloading, it uses $rant/download
    which means the server has changed the output stream before sending image data...

    And as @C0D4 said, it added watermarks to the image.
    It can be a long-time process because the source is in JPEG format but the server converted it into PNG format when getting '$rant/download'.

    I think the server does a "linear & dynamic coverting" to avoid Disk I/O
    May be not the smartest way....

    (Thinking about adding the watermarks before uploading?)
Add Comment