Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix pixel flaw when calling img url to mobile?

I'm using azure web storage to store image files as blobs. When i call the image url of theese images to the computer they work fine. However when calling them to mobile(iOS) they sometimes get some wierd pixels and/or duplicating itself sometimes but not always. I'm putting two examples that can occur below, and as you can see one image got split in half an the other add some blue paint on it enter image description here

enter image description here

If anyone has any clue about what may be causing this, please let me know!

Edit: I've noticed that the photos that may mess up are all bigger in storage size 1MB+ while the others around 200kb seem to be doing fine, could this have something to do with it?

like image 343
Mattias Avatar asked Nov 09 '22 09:11

Mattias


1 Answers

I can now confirm that this was due to the actual blob size, I've made a serverside code to resize the images to below 100kb each and havent had the problem since

like image 193
Mattias Avatar answered Nov 14 '22 22:11

Mattias