Note that there are some explanatory texts on larger screens.

plurals
  1. POUIImageView Not Show Image to its Original Image that can available on Server
    primarykey
    data
    text
    <p><code>UIImageView</code> not show/display Original Image as that of available on server. for more ref <a href="http://monotouch.2284126.n4.nabble.com/UIImageView-Not-Show-Image-to-its-Original-Image-that-can-available-on-Server-td4656196.html" rel="nofollow">check it</a></p> <pre><code>float scaleFactor = 0.0f;` float scaleWidth = dstRectangle.Width; //width =748 float scaleHeight = dstRectangle.Height; // height = 759 if(!SizeF.Equals(srcRectangle ,dstRectangle)) { float widthFactor =(float) dstRectangle.Width / srcRectangle.Width; //srcRectHeight = 512 float heightFactor =(float) dstRectangle.Height / srcRectangle.Height; //srcRectangle.Height = 314 if(widthFactor &gt;heightFactor) scaleFactor = widthFactor ; else scaleFactor = heightFactor; scaleWidth = srcRectangle.Width * scaleFactor; scaleHeight = srcRectangle.Height * scaleFactor; if(widthFactor &gt;heightFactor) { thumbnailPoint.Y = (dstRectangle.Height - scaleHeight) * .5f; } else if(widthFactor &lt; heightFactor) { thumbnailPoint.X = (dstRectangle.Width - scaleWidth) *.5f; } } UIGraphics.BeginImageContext(new SizeF(dstRectangle.Width , dstRectangle.Height)); RectangleF thumbnailRect = RectangleF.Empty; thumbnailRect.Offset(thumbnailPoint); thumbnailRect.Size.Width = scaleWidth; thumbnailRect.Size.Height = scaleHeight; CGImage _bitmap = UIGraphics.GetImageFromCurrentImageContext().CGImage; ImgVIew.Image = UIImage.FromImage(_bitmap); UIGraphics.EndImageContext(); </code></pre> <p>It gives me an UIImage But not display on the UIImageView In CGImage I got ALphaInfo = PremultipledLast</p> <pre><code>BitsPerComponant = 8 BitsPerPixel =32 BytesPerRow = 3008 Height= 759 Width = 748 </code></pre> <p>this values I get into CGImage but this CGImage I conver it to UIImage but still it can not display</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload