Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why this image is loaded from right to left?

Tags:

image

load

You can see it in Chrome: http://toliklunev.ru/image.jpg

Image, resaved by Photoshop, is loaded normally: http://toliklunev.ru/image2.jpg

Why?

UPD: In Firefox everything is much more interesting. The first image is turned.

like image 836
toliklunev Avatar asked Oct 21 '22 22:10

toliklunev


1 Answers

Let's have a look at the EXIF data of your image:

Color Space sRGB
Exif Image Size 2,592 × 1,936
Orientation Rotate 90 CW

As an non-progressive (baseline) JPEG, it is being loaded top-down. However, Google Chrome takes the rotation parameter into account and rotates the file in the first place, thus it seems to be loaded right-left.

like image 54
niutech Avatar answered Nov 15 '22 07:11

niutech