Rank: Newbie
Groups: Member
Joined: 1/21/2010(UTC) Posts: 7
|
I need to know the orientation of the uploaded image - is it standing og lying? I have tryed ExifOrientation - but it takes the orientation of the original image so if the user rotate the image in the editor before upload the ExifOrientation will not show that. If I can get the orientation of the image by getting a resolution ore somthing like that, will that also be fine
The importend is that its give me the orientation of the uploaded image and not the original image.
How to do that?
|
|
|
|
Rank: Advanced Member
Groups: Joined: 7/13/2011(UTC) Posts: 286
Thanks: 6 times Was thanked: 31 time(s) in 31 post(s)
|
Hi Soren, If I understand right you are using classic ASP (not ASP.Net Control or PHP library) and parsing POST request yourself. If so, you can simply compare hieght and width of the uploaded file and use thecomparison results. POST request contains information about uploaded files' dimensions. Please use SourceWidth_N and SourceHeight_N fields (where N is uploaded file index number) to retrieve information about source file and FileXWidth_N and FileXHeight_N (The Xth converted file for the Nth user-selected file) fields - about thumbnails. Here you can find detailed information about POST request fields. Feel free to contact me if you have any questions. Edited by user Sunday, February 5, 2012 7:27:10 PM(UTC)
| Reason: Not specified |
Best regards, Pauline Shirykalova Aurigma Technical Support
|
|
|
|
Rank: Advanced Member
Groups: Joined: 12/19/2012(UTC) Posts: 164
Was thanked: 8 time(s) in 8 post(s)
|
|
Best regards, Vitaly Kustov Aurigma Technical Support
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.