Pictures from Cell phones uploaded with NT

Hi,
I am taking landscape photos of small documents like auto registration ( approximately 3 inches high by 5 inches wide) . For example a jpg photo will be 4080 pixels wide and 2296 pixels high. When this photo gets taken by the user on their phone and Uploaded To NT app using Advanced HTML5 File Uploader, it get saved as a file with a width of 2296 pixels and height of 4080 pixels - this is rotated 90 degrees clockwise. I am submitting the images to OCR so I want them to be true and not rotated.
So, question - why does this happen?
What don’t I know that you do?
How can I get consistency when a picture is taken landscape it is saved as landscape?
I am trying to avoid importing the uploaded image to ImageEx and manipulating it.
Any info is appreciated.
Thanks,
Ron

Sounds like you are not communicating the EXIF/Metadata along with your images. That’s the thing that has the orientation/rotation info.

HI Jeff,
Good thought, but I looked at the Uploaded and saved image and it has the data.


It must be something else.
Ron

Is the thing that consumes the uploaded file (I assume, your app) using that feature, though?

HI Jeff,
I am using a Net Talk Image display. I have no idea if it is using the information passed in. Maybe Bruce can add some info.


Ron

PMI, but what is this?

Youre setting the width and heightvof the image control there. 300x 200. Im not sure why it rotates the image but maybe thats in play?

https://www.capesoft.com/docs/NetTalk14/NetTalkWebFunctionality.htm#FormTypeFile