Imagemagick中的自动定向是否旋转图像像素?

Imagemagick中的自动定向是否旋转图像像素?,imagemagick,jpeg,imagemagick-convert,image-rotation,uiimageorientation,Imagemagick,Jpeg,Imagemagick Convert,Image Rotation,Uiimageorientation,我想知道以下Imagemagick命令的具体功能: convert input.jpg-auto oriente out.jpg 它只是读取并更新exif吗? 或者它还会旋转图像中的像素吗?从我的相机拍摄垂直照片(Exif数据中的方向): IMidentify表示: Test.jpg JPEG 5472x3648 5472x3648+0+0 8-bit sRGB 6.907MB 0.000u 0:00.000 Test-out.jpg JPEG 3648x5472 3648x5472+0+0

我想知道以下Imagemagick命令的具体功能:

convert input.jpg-auto oriente out.jpg

它只是读取并更新exif吗?
或者它还会旋转图像中的像素吗?

从我的相机拍摄垂直照片(Exif数据中的方向):

  • IM
    identify
    表示:

    Test.jpg JPEG 5472x3648 5472x3648+0+0 8-bit sRGB 6.907MB 0.000u 0:00.000
    
    Test-out.jpg JPEG 3648x5472 3648x5472+0+0 8-bit sRGB 7.082MB 0.000u 0:00.010
    
  • Linux
    文件
    命令显示(摘录):

转换后,

  • IM
    identify
    表示:

    Test.jpg JPEG 5472x3648 5472x3648+0+0 8-bit sRGB 6.907MB 0.000u 0:00.000
    
    Test-out.jpg JPEG 3648x5472 3648x5472+0+0 8-bit sRGB 7.082MB 0.000u 0:00.010
    
  • 文件

    Test-out.jpg: JPEG image data, Exif Standard: [...  orientation=upper-left, ...], ... , 3648x5472, ...
    
因此,显然JPEG被重写为具有通常的方向,并且与不支持EXIF方向的JPEG阅读器兼容