Solved

ASP.NET Image Crop

Posted on 2008-06-13
2
530 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Where did System.Data.Objects go? 2 27
Moving code from one TFS branch to another 3 25
C# bracket error 3 30
C# LINQ ForEach() question 6 28
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
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…

770 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