UGS-GIO / rockcore

UGS Core Research Center Inventory web application that compiles a large data set of rock core data and displays it on an interactive web map
https://geology.utah.gov/apps/rockcore/
0 stars 0 forks source link

Photos upside down #15

Closed Vandenberg5 closed 4 years ago

Vandenberg5 commented 4 years ago

There are still photos that are upside down

for example: Main Canyon 23-7-15-23

Vandenberg5 commented 4 years ago

the "top" in the core box should be in the upper left whenever possible.

marshallrobinson commented 4 years ago

I may be wrong, but I think I this is because the web application displays the currently-saved orientation of the photos. So, in order to fix this, the photos would have to be re-saved in the correct orientation using Photoshop or some other photo-editing software (Irfanview).

PNatCoreCenter commented 4 years ago

I have looked at the Main Canyon photographs on the web server and on the G drive. The first image is the Main Canyon Directory on the web server. web photographs My computer shows all images are TOP on the upper left and BOTTOM on lower right. I selected the files as a group and rotated them right twice (180 degrees or flipped upside down). I excited the directory, reconnected and all the photographs were upside down. I then selected all the photographs again and rotated them left 180 degrees which put the TOP back at the upper left. I excited the directory and reconnect they appear with the TOP in the upper left corner.

The second image is the same directory on the G drive where we have the JPG and the RAW file images.
g drive web photograph The core photographs have the TOP in the upper right. You can see that one photograph is displayed horizontally. This is the original orientation of the photograph. I have rotated these several times.

This happens randomly and frequently. I think that the original photograph files have an IMAGE rotation value in the metadata and a secondary Rotation positive or negative number. I think that different software platforms read the photographs orientation differently. That is why my photograph orientation can be observed differently on Mike V computer, the web server, Cheryl's computer, etc.

I think we need a common software platform that manages core photographs or images in general. It will read the image orientation the same way each time and allow us to figure out how to upload the photographs so that they display correctly.

We have started, with this last batch of core photographs, here at the core center rotating the images to the correct orientation when they are saved to the RAW and JPG files on the computer. I don't know if this will address the problem with picture orientation but they will start in the correct orientation from this point.

PNatCoreCenter commented 4 years ago

See issue #17 for core photograph comments

Vandenberg5 commented 4 years ago

seems to be fixed now

marshallrobinson commented 4 years ago

Can confirm, they all look fixed now. I do wonder what is causing them to change later, but in the meantime, this will be a good documentation that they were in fact fixed.