Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

want resize the image with Uniformtofill

Posted on 2009-07-10
2
Medium Priority
?
746 Views
Last Modified: 2013-11-12
i have an image. i want resize the image to place inside a placeholder. i want the image to be Uniformtofill. I think its all a mathamatical calulation with width and height. can anyone give this calculation? thanks in advance.
0
Comment
Question by:x1877
2 Comments
 
LVL 11

Accepted Solution

by:
vo1d earned 1000 total points
ID: 24834016
take a look at this:
http://mironabramson.com/blog/post/2007/10/Resize-images-%27on-the-fly%27-while-uploading.aspx

t think, it is the ResizeOptions.MaxWidthAndHeight, what you are looking for.
0
 
LVL 21

Assisted Solution

by:Tapan Pattanaik
Tapan Pattanaik earned 1000 total points
ID: 24835559
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question