Have downloaded a few images from Internet and they appear to show upside down in the Opus image viewer.
I can't get them right whilst using 'Convert images'.
a) when I just use the context menu convert image and -nothing(!)- is tagged, i.e. all tag boxes are empty, then the preview in the context menu shows the image in the right position...
when I click OK, nothing happens,
b) when I select Rotate (180degr) the preview shows the image upside down, so actually no changes. Clicking on OK does not change anything.
In both cases Opus seems to be processing something, but as said, nothing happens.
XnView does rotate the images and it will then show properly in the image viewer of Opus.
Note: I exited (File->Exit) Opus twice, but that didn't matter.
It could be that the image has rotation data stored in it. Some viewers will auto rotate the image, some will not. Dopus has a couple of different settings for this, always called auto-rotate see; ViewerAppearance, Viewer Pane, and Thumbnails Mode.
You can display the image rotation in a column its picture dimension > rotation. Should help you understand if this is the cause.
This can happens when you hold a phone upside down when taking a picture.
I use this dopus command to rotate the images the right amount based on the value in the EXIF data. Note this can and prob will be a lossly action on the image.
The column 'Rotation' shows 180 and I see that they have been taken using a phone indeed.
Seems then that Opus can not change that?
At least not in the usual way.
Gave it a try and tagged
"Use EXIF information (if present) to auto-rotate pictures" within Preferences
Viewer-> Viewer Pane
Viewer-> Appearance
File Display Modes->Thumbnails
made no difference.
I think I let it rest now, because it involves just a dozen images and I can solve it using XnView.
So it is not worth spending too much time on it.
noticed Exif indeed states bottom-right (3)
See: JPEG Rotation and EXIF Orientation
The image convert dialog in dopus will call the image command shown above. The only difference being we are manually setting all the values, specifically we are setting the rotation amount needed using the data in the EXIF rotation field. It also clears the EXIF rotation data.
You don't need a button to test it.
In a Lister select an appropriate image (make a test one)
press > and you will get the command bar
paste command Image ROTATE=EXIF HERE REPLACE.
However. I don't think the Image convert dialog will ever show the image auto-rotated based on the EXIF data. It appears your image has rotation data, but is not actually rotated.
Try disabling the auto-rotate display (as described above), or clear the EXIF data.
Personally I don't like the EXIF rotation. I always rotate the image and clear the field.
Remember, this most likely requires that the image be re-compressed. So there will be some loss in quality, you wont see it though. Depends on your level of concern for such things.
@leo - thanks. I gave it a try, but, no changes, regretfully. EXIF orientation remains the same. @wowbagger - also thanks. the '>' button is associated with another application, so I would need to disable and enable to association again.
After XnView rotation, the EXIF details changed from "Orientation=bottom-right(3)" into: "top-left(1)"
The rotation will be lossless if it is possible. It should be possible with most images from a digital camera (which would be the ones with EXIF rotation tags), unless they have already been cropped or resized to a width/height that no longer allows lossless rotation.
If you upload an example image we can take a look at what is happening with it.
The file you sent via PM has no EXIF rotation information inside of it at all. (In fact, it has no EXIF data at all that I can see.) So I am not sure how it fits into this thread.
Is the file actually the one you were looking at before, or another version of the same image? (If you download images from Flickr, you may get a version that Flickr has converted if you download different sizes, for example.)
The zipped version worked, so I now have the same file you were using, and I can see what's wrong with it.
The problem is in the file.
The image data in the file is the right way up and does not need rotation.
The EXIF tag in the file says the image data needs to be rotated 180 degrees and flipped upside down. This is wrong (unless the image is supposed to be upside down).
So the image data does not need to be modified at all. The EXIF rotation tag just needs to be zeroed out.
You can do that in Opus using the metadata editor.
The rotation data while a nice idea, causes some issues. I would rather cameras just store the image rotated when it saves the image. Rotation can (if size is not a multiple of 8) result in re-compression. Websites can strip all EFIX data (for the GPS) including rotated data. For these reasons in Dopus I have auto-rotate turned off, and always correct rotated images.