JPG image download question

kenny1999

Member
Is that all JPG images downloaded in a way such that it is 10% of the photo, 90% “grey” then 20% of the photo,80% “grey' and then later 90% of the photo, 10% grey and then finally 100% of the photo and no more "grey"

10% 20% is just an example.


Or could JPG be downloaded in a way that it is first very blurred and then not very blurred and then very clear and become ''perfect'' finally when the download completes? During the whole download process the whole image could be seen and only the resolution increases

Which way is more common to download JPG image
The second way has a disadvantage of not being able to check if the image is downloaded completely because one is not able to look at the resolution by naked eye.
 
I don't really understand the question. But I can kind of cover the 2 ways of image loading when visiting a page:

Usually when you see the grey blocks on the image it means there was a problem downloading it. However, for the more common way of storing images now, the unloaded portion is transparent and fills in as the rest of it becomes available. It loads how you described it, most of it isn't there, then it fills in.

When the image quality improves over time, it was saved in an interlaced format that lets the system render the image before the entirety of it's data has been downloaded.

Generally, the first method is more common now. To switch between ways of delivering the image you need to open the file and resave it. It's not like you have a tag you can put on your page to say which loading format to use.
 
I used to worry about the same things couple of years ago lol.
So I made myself a small application in C# which uses the WebClient class and it's method DownloadFile.The method has two parameters.First is the url of the file you want to download and the second parameter is the path to local disk to which you want to save the file.
Once file would be successfully fully downloaded to my HDD path location,it would check the size in bytes to make sure that it's not 0 bytes in size lol and then it would automatically open the image file in the PictureBox control so that I can immediately see if the image is downloaded properly or not.

But I don't download images that way anymore lol.That was few years ago lol.
I guess I got bored downloading images that way hahaha!
 
Back
Top