locked
Crop an Image Control RRS feed

  • Question

  • User-1880854593 posted
    I'm looking for a way to take an image control that I have on the page already and crop it. I've seen examples of taking an image from a file to do it, but when I try the same process for an image control, it never works. Any ideas?
    Thursday, July 29, 2004 1:42 PM

All replies

  • User-599719271 posted
    you can apply CSS clip properties to make it appear cropped. once it's in the page though, you're out of the realms of GDI+ - try the client-side forum.
    Sunday, August 1, 2004 3:59 AM
  • User-2129582625 posted
    If you wanted to do with GDI+, then using DrawImage (AGAIN REDRAWING) of the same image helps! Below example could helps you! http://www.bobpowell.net/changing_resolution.htm
    Sunday, August 1, 2004 7:15 AM
  • User1095738331 posted
    what's the asp.net 2.0 way to do this?
    Monday, June 26, 2006 2:40 PM