Suggestion for optimizing image upload to Steem

in #steemit2 days ago

[DE] Please scroll down for English version

Ihr habt es sicher auch bemerkt, Bilder werden auf Steemit seit einiger Zeit oft nur langsam geladen. Abhilfe scheint in Sicht, wie ihr unter Imagehoster Go Rewrite Announcement sehen könnt. Wunderbar!

Ich hätte da einen Vorschlag...

Aktuell ist es so, wenn Bilder über die Zwischenablage eingefügt werden, dann werden diese als .png gespeichert, was richtig Speicher frisst. Um dies zu demonstrieren, habe ich dieses Bild genommen und in diesem Beitrag hochgeladen.

Variante 1, eingefügt über die Zwischenablage:
image.png

Variante 2, Upload als .jpg:
Test02.jpg

Variante 3, Upload als .webp:
Test02.webp

Dateigrößen

  • Variante 1 .png: 699.39 kB
  • Variante 2 .jpg:117.5 kB
  • Variante 3 .webp: 60.72 kB

Hier könnt ihr die Bilder direkt aufrufen...
Variante 1 | Variante 2 | Variante 3

...und euch im Browser die Dateigröße anzeigen lassen:
Test02b.webp

Einsparung

In diesem Beispiel liegt die Einsparung bei 91.4% - das ist schon nennenswert! Damit sinkt nicht nur der Speicherbedarf am Image-Server, die Bilder werden dadurch auch wesentlich schneller geladen.

Wer weiß, vielleicht trifft mein Vorschlag ja auf offene Ohren?

Trennlinie04.png

[EN]

Trennlinie04.png

You've probably noticed that images on Steemit have been loading slowly for some time now. A solution seems to be in sight, as you can see at Imagehoster Go Rewrite Announcement. Great!

I have an additional suggestion...

Currently, when images are inserted via the clipboard, they are saved as .png files, which takes up a lot of storage space. To demonstrate this, I took this image and uploaded it to this post.

Method 1, pasted via the clipboard:
image.png

Method 2, upload as .jpg:
Test02.jpg

Method 3, upload as .webp:
Test02.webp

File sizes

  • Method 1 .png: 699.39 kB
  • Method 2 .jpg:117.5 kB
  • Method 3 .webp: 60.72 kB

You can view the images directly here...
Method 1 | Method 2 | Method 3

...and show the file size in your browser:
Test02b.webp

Improvement

In this example, the reduction is 91.4% - which is quite significant! This not only reduces the storage space required on the image server, it also means that images load much faster.

Who knows, maybe my suggestion will fall on open ears?

image.png

Sort:  

Gute Beobachtung!
Die Reduzierung des Speichers sollte eigentlich im Interesse des Unternehmens sein, da für den Speicher auch bezahlt werden muss.

Wie ich sehe, hast du schon den richtigen dafür angeschrieben. Ich hätte dir sonst ein Issue in dem Git-Repo empfohlen, habe allerdings noch im Kopf, dass das Repo für das Image-Hosting private ist.

Bin gespannt, wie er reagiert.

Ich kenne Go nur am Rande, hab daher Mr. Google gefragt und der meinte, Go kann Bilder aus der Zwischenablage als .webp speichern und hat mir auch gleich den Quellcode dazu geliefert. Müsste also machbar sein.

Bin auch gespannt...

Soweit ich mitbekommen habe, hat er momentan Urlaub. Es kann also noch etwas dauern.

Er hat schon geantwortet und meinte, dass WebP in Betracht gezogen werden sollte. Hört sich schon mal gut an.

@maxart hat übrigens das hier entdeckt, Sicherheitsrisiko schätze ich eher niedrig ein, kann aber nicht schaden, wenn es abgefangen wird. Was meinst du?

I've read this article (Imagehoster Go Rewrite Announcement), and I feel that big improvements in image hosting are coming. The current steemitimages service can be used as a "file hosting" service (oops!) for any type of file if you just add an image extension, for example, a JPG. I consider this a serious security bug, and I hope no one is using it for bad purposes. But if the updated image hosting checks the file MIME type, and if images are re-converted during upload and storing on the server in that form, then this issue will be fully solved.

2026-02-09_100400.png

oops!

Oh yes, oops! I wouldn't have thought of that, thanks for pointing out. I think @ety001 should take a look on it.

I've been unable to upload stock pictures for my stories and had to keep trying different ones—so it's the issue with Steemit again. Do I need to save my image as 'All Files' to be able to access the WebP file type when I'm selecting an image?

It depends on which program you use to save/edit your images.

With Gimp, all you need to do is go to Export and then specify .webp as the file extension. However, most programs offer a selection under “Save as” or “Export” – and not all programs support webp.

I briefly looked at your latest posts, where the images are uploaded as .jpg files. That's good, because it's also a compressed format. I think you can save yourself the effort of converting .jpg to .webp.

Also mir kam das UPVU immer zur Hilfe , was das Bilderuploaden angeht , doch das ist ja nun schon so lange offline .
Meine Recherchen führten dazu , dass das images.hive.blog angeblich der angestrebte "Hostingpunkt" der Zukunft wäre .

Ach, upvu ist offline - hab ich gar nicht mitbekommen.

Und öhm, wo Hive seine Bilder speichert, hab ich keinen Plan. Schätze für deine Posts müsste man schon fast nen eigenen Server mieten :-)

Congratulations!

Your post has been manually upvoted by the SteemPro team! 🚀

upvoted.png

This is an automated message.

💪 Let's strengthen the Steem ecosystem together!

🟩 Vote for witness faisalamin

https://steemitwallet.com/~witnesses
https://www.steempro.com/witnesses#faisalamin

Thanks!