Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #124146

Re: Rotate Pictures

Subject Re: Rotate Pictures
Newsgroups comp.sys.mac.system
References <1o82rh8.5lpvcgs2kckyN%befr@eaglesoft.de>
From JF Mezei <jfmezei.spamnot@vaxination.ca>
Message-ID <W0YFE.124373$GV5.91165@fx46.iad> (permalink)
Date 2019-05-24 15:57 -0400

Show all headers | View raw


On 2019-05-24 04:01, Bernd Fröhlich wrote:

> Drop a folder with pictures on it and it rotates all the pictures
> according to the EXIF Orientation tag.

What type of pictures are you dealing with? And what app doesn't respect
the exif rotation tag ?


Here are the specs for the Orientation tag:

0x0112 	Orientation 	int16u 	IFD0 	
1 = Horizontal (normal)
2 = Mirror horizontal
3 = Rotate 180
4 = Mirror vertical
5 = Mirror horizontal and rotate 270 CW
6 = Rotate 90 CW
7 = Mirror horizontal and rotate 90 CW
8 = Rotate 270 CW


Just did a test with a photo takem in portrait mode:
relevant EXIT of original:
File Name                       : img_1311.jpg
Exif Byte Order                 : Big-endian (Motorola, MM)
Camera Model Name               : iPhone XS
Orientation                     : Rotate 90 CW
Exif Image Width                : 4032
Exif Image Height               : 3024


Then, I opened it in Photoshop, and did SAVE AS.
Had to specify jpeg compression level. And the resulting EXIF:

File Name                       : test.jpg
Exif Byte Order                 : Big-endian (Motorola, MM)
Image Width                     : 3024
Image Height                    : 4032
Bits Per Sample                 : 8 8 8
Photometric Interpretation      : RGB
Make                            : Apple
Camera Model Name               : iPhone XS
Orientation                     : Horizontal (normal)



The resultant file has a "0" orientation so the pixels are displays in
the same rotation as they are stored. The original has pixels displayed
with 90" rotation.

Also note the original as "Exif Image Width" tag, while the photoshop
one has "Image Width" tag. I'd have to do research on where each comes
from (likelt the "Image Width" might be taken from the actual JPEG
strcutures and not from any EXIF  data.



So, what you can do, if you have photoshop, is to use the built-in
File-> Automate->Batch or File->Scripts->Image Processor to bulk process
a whole directory with just a "SAVE AS" function.

From a .jpeg point of view, it means that the data is decompressed to
original image size, and then recompressed to whatever setting. Also,
Photoshop dopes change some of the image settings and EXIT data
(inserting "Photohop" as the writer of image file for instance).

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Rotate Pictures befr@eaglesoft.de (Bernd Fröhlich) - 2019-05-24 10:01 +0200
  Re: Rotate Pictures nospam <nospam@nospam.invalid> - 2019-05-24 07:59 -0400
  Re: Rotate Pictures Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-05-24 14:31 +0000
  Re: Rotate Pictures JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-05-24 15:57 -0400
    Re: Rotate Pictures befr@eaglesoft.de (Bernd Fröhlich) - 2019-05-27 08:37 +0200
      Re: Rotate Pictures Savageduck <savageduck1@{REMOVESPAM}me.com> - 2019-05-27 00:02 -0700
        Re: Rotate Pictures nospam <nospam@nospam.invalid> - 2019-05-27 08:49 -0400
          Re: Rotate Pictures Savageduck <savageduck1@{REMOVESPAM}me.com> - 2019-05-27 06:39 -0700
            Re: Rotate Pictures nospam <nospam@nospam.invalid> - 2019-05-27 10:03 -0400
              Re: Rotate Pictures Savageduck <savageduck1@{REMOVESPAM}me.com> - 2019-05-27 07:16 -0700
            4D (Was: Re: Rotate Pictures) befr@eaglesoft.de (Bernd Fröhlich) - 2019-05-28 08:35 +0200
              Re: 4D dempson@actrix.gen.nz (David Empson) - 2019-05-29 09:51 +1200
                Re: 4D befr@eaglesoft.de (Bernd Fröhlich) - 2019-05-29 08:47 +0200
        Re: Rotate Pictures Alan Baker <nunya@ness.biz> - 2019-05-27 10:10 -0700
        Re: Rotate Pictures Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-05-28 02:20 +0000
          Re: Rotate Pictures Alan Baker <nunya@ness.biz> - 2019-05-27 22:50 -0700
            Re: Rotate Pictures Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-05-28 23:10 +0000
              Re: Rotate Pictures Alan Baker <nunya@ness.biz> - 2019-05-28 17:43 -0700
                Re: Rotate Pictures nospam <nospam@nospam.invalid> - 2019-05-28 22:00 -0400
                Re: Rotate Pictures Alan Baker <nunya@ness.biz> - 2019-05-28 19:37 -0700
                Re: Rotate Pictures befr@eaglesoft.de (Bernd Fröhlich) - 2019-05-29 08:47 +0200
                Re: Rotate Pictures Your Name <YourName@YourISP.com> - 2019-05-29 19:39 +1200
                Re: Rotate Pictures nospam <nospam@nospam.invalid> - 2019-05-29 07:45 -0400
                Re: Rotate Pictures Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-05-29 16:09 +0000
                Re: Rotate Pictures Alan Baker <nunya@ness.biz> - 2019-05-29 09:19 -0700
                Re: Rotate Pictures Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-05-30 01:06 +0000
                Re: Rotate Pictures Alan Baker <nunya@ness.biz> - 2019-05-29 21:42 -0700
                Re: Rotate Pictures Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-05-29 03:09 +0000
                Re: Rotate Pictures Alan Baker <nunya@ness.biz> - 2019-05-29 00:01 -0700
                Re: Rotate Pictures Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-05-29 16:14 +0000
                Re: Rotate Pictures Alan Baker <nunya@ness.biz> - 2019-05-29 11:11 -0700
                Re: Rotate Pictures Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-05-30 01:14 +0000
      Re: Rotate Pictures JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-05-27 03:54 -0400
        Re: Rotate Pictures Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-05-28 04:02 +0000
          Re: Rotate Pictures JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-05-30 01:06 -0400

csiph-web