开发者

Loading images in HTML by quality

开发者 https://www.devze.com 2023-03-01 04:25 出处:网络
Is there a way to load my images in a way their quality get better as they load as opposed to th开发者_开发问答e image being \"scanned\" or \"scrolled\" as it loads?You can save the image as Progressi

Is there a way to load my images in a way their quality get better as they load as opposed to th开发者_开发问答e image being "scanned" or "scrolled" as it loads?


You can save the image as Progressive JPEG.

I believe that by now all major browsers will show it just fine.


There are ways to preload images before displaying them, this prevents the behaviour you've described. A good article on this can be found here.

0

精彩评论

暂无评论...
验证码 换一张
取 消