Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Flip horizontally reverts!
#1
When I
1. Flip my image horizontally and save as jpeg or png in GIMP 2.10
2. Save it on my Android 10.5 phone
3. Try to use it in the Webex app (beta background feature)
The preview shows it in the desired orientation but when I apply it as a background pic it reverses the flip.

I am assuming there is some attribute in both jpeg and png that is picked up when previewed in Webex but ignored when the pic is applied.

1. Is my assumption right?
2. If so: how dow I get GIMP to "truly" flip instead of using the attribute?
Reply
#2
When you say 'flip' is this a phototaken in Portrait mode which when opened Gimp asks if you want to rotate it.
Possibly the embedded Exif data. When exporting try disabling all save options (colour profile usually ignored anyway)

   
Reply
#3
A similar question was asked recently on Reddit. If you rotate the image, (Image>Transform),
  • Gimp really rotates the pixels
  • It also deletes the EXIF rotation flag in the image metadata
  • From then on the image is saved without that flag (even if EXIF are exported), so the image should be displayed with the "natural" orientation (which is the one that was show in Gimp).

However...
This holds for an image rotated with Image>Transform. This is not for an image where the view has been rotated with View>Flip & rotate, which, as its name implies, is just a presentation thing and doesn't really change the image.
Reply
#4
Unfortunately both solutions offered so far didn't work:
1. Unchecking the data boxes when exporting made no difference.
2. I was flipping the image (not just the view) all along.

Things got even weirder.

When flipping VERTICALLY the Webex app is triggered to flip it HORIZONTALLY!

I tried a workaround as follows:
1. Opened an  new file 
2. Opening the flipped image as a layer in the new file
3. Exporting (again data save boxes unchecked)

To no avail.....

Nuking all EXIF tags with exiftool -all= MyFile.jpg is not working either....
Reply
#5
How many image viewers did you try? When you say Webex do you mean Cisco's Webex?

And did you try from an unaltered image (you say you flipped it on your phone)? Otherwise post the source image (or a more anonymous one taken in the same condtions).
Reply
#6
(09-06-2020, 07:32 PM)Ofnuts Wrote: How many image viewers did you try? When you say Webex do you mean Cisco's Webex?

And did you try from an unaltered image (you say  you flipped it on your phone)? Otherwise post the source image (or  a more anonymous one taken in the same condtions).

It's just about using it as a background in Cisco Webex on my Android phone. In preview it shows OK but when applied it flips.

All the editing is done on my desktop GIMP 2.10 / Linux Mint 20.04 and then the file is transferred.

An unflipped image will show OK.

Attached you will find an image that was VERTICALLY inverted and stripped of EXIF data with exiftool.

Applied in Webex it flips HORIZONTALLY............


Attached Files Thumbnail(s)
   
Reply
#7
IMHO what happens is that Webex on your Phone thinks it's a picture taken with the front-facing camera and, not seeing any exifs, mirrors it by default. So the problem is really with Webex (on your phone) and not with Gimp (my own Webex persona is also an output from Gimp and displays OK, but I use Webex on a PC).  

Instead of removing the EXIF data, try using exiftool to force normal orientation:

Code:
exiftool -n -Orientation=1 <img>

# or

exiftool -Orientation=top,left <img>
Reply
#8
(09-07-2020, 03:35 PM)Ofnuts Wrote: IMHO what happens is that Webex on your Phone thinks it's a picture taken with the front-facing camera and, not seeing any exifs, mirrors it by default. So the problem is really with Webex (on your phone) and not with Gimp (my own Webex persona is also an output from Gimp and displays OK, but I use Webex on a PC).  

Instead of removing the EXIF data, try using exiftool to force normal orientation:

Code:
exiftool -n -Orientation=1 <img>

# or

exiftool -Orientation=top,left <img>

First one gave me nothing
Second one error:


Attached Files Thumbnail(s)
   
Reply
#9
(09-08-2020, 09:01 AM)rjvencken Wrote:
(09-07-2020, 03:35 PM)Ofnuts Wrote: IMHO what happens is that Webex on your Phone thinks it's a picture taken with the front-facing camera and, not seeing any exifs, mirrors it by default. So the problem is really with Webex (on your phone) and not with Gimp (my own Webex persona is also an output from Gimp and displays OK, but I use Webex on a PC).  

Instead of removing the EXIF data, try using exiftool to force normal orientation:

Code:
exiftool -n -Orientation=1 <img>

# or

exiftool -Orientation=top,left <img>

First one gave me nothing
Second one error:

The first one has set the Exif orientation of the picture (the second one was a possible alternative, trying to guess acceptable inputs, obvoiusly failed(*)). So once the first one worked, did you try to use the file in Webex?

(*) Digging a bit more, that could have been:
Code:
exiftool -Orientation='Horizontal' <image>
Reply
#10
(09-08-2020, 09:14 AM)Ofnuts Wrote:
(09-08-2020, 09:01 AM)rjvencken Wrote:
(09-07-2020, 03:35 PM)Ofnuts Wrote: IMHO what happens is that Webex on your Phone thinks it's a picture taken with the front-facing camera and, not seeing any exifs, mirrors it by default. So the problem is really with Webex (on your phone) and not with Gimp (my own Webex persona is also an output from Gimp and displays OK, but I use Webex on a PC).  

Instead of removing the EXIF data, try using exiftool to force normal orientation:

Code:
exiftool -n -Orientation=1 <img>

# or

exiftool -Orientation=top,left <img>

First one gave me nothing
Second one error:

The first one has set the Exif orientation of the picture (the second one was a possible alternative, trying to guess acceptable inputs, obvoiusly failed(*)). So once the first one worked, did you try to use the file in Webex?

(*) Digging a bit more, that could have been:
Code:
exiftool -Orientation='Horizontal' <image>

First one (exiftool -n -Orientation=1 <img>) "worked" but didnt have the desired effect in Webex.
Last one (exiftool -Orientation='Horizontal') exact same story. See attachment:


Attached Files Thumbnail(s)
   
Reply


Forum Jump: