You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the title, if I want to get width/height of an image in portrait mode from a mobile phone, the width and height are incorrect (width is wider that height).
I use this code to call the method:
using(varstream=imageBlob.OpenRead()){string[]info=new[]{"source.width","source.height","final.width","final.height","result.ext","result.mime"};varlength=stream.Length;// set length before calling LoadImageInfovarresult=CurrentImageBuilder.LoadImageInfo(stream,info);returnnewTuple<int,int,long>((int)result["source.width"],(int)result["source.height"],length);}
Is there some setting I am missing in the call to LoadImageInfo (i.e in info)?
I've found code here on github that seems to indicate that you do actually autorotate by default for some calls (in ImageBuilder.PostDecodeStream), but I am unsure if this code is > 4.2.8 or not called when calling LoadImageInfo.
We are currently on ImageBuilder 4.2.8
Thanks
The text was updated successfully, but these errors were encountered:
As per the title, if I want to get width/height of an image in portrait mode from a mobile phone, the width and height are incorrect (width is wider that height).
I use this code to call the method:
Is there some setting I am missing in the call to LoadImageInfo (i.e in info)?
I've found code here on github that seems to indicate that you do actually autorotate by default for some calls (in ImageBuilder.PostDecodeStream), but I am unsure if this code is > 4.2.8 or not called when calling LoadImageInfo.
We are currently on ImageBuilder 4.2.8
Thanks
The text was updated successfully, but these errors were encountered: