Solved

ASP.NET Image Crop

Posted on 2008-06-13
2
532 Views
Last Modified: 2013-11-26
Is there a way to automatically crop an image on upload if it's panorama?

Example...Image is supposed to be 400 w x 265 h
However it's actually 500 w.  Can I have an "auto-crop" of 50 on each side?
0
Comment
Question by:lrbrister
  • 2
2 Comments
 
LVL 29

Accepted Solution

by:
David H.H.Lee earned 500 total points
ID: 21782334
Dear lrbrister,

This link may useful as your referrence how to solve your problem:
http://michael.sivers.co.uk/post/2007/08/Crop-and-resize-an-image-in-ASPNET.aspx
0
 
LVL 29

Expert Comment

by:David H.H.Lee
ID: 21782343
Dear lrbrister,

Please check this link as well:
http://www.codeproject.com/KB/GDI-plus/imageresize.aspx
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 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