HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 85802 thumbnail
User 225256 avatar

By mswatcher
via blogs.msdn.com
Published: Jun 07 2008 / 23:43

Having talked about the pain of capturing image snapshots, someone mentioned Cropper and its plug-in model so I thought I'd have a bash at creating a plug-in to optionally re-size on capture. Using these helpful articles (here and here) on using the GDI+ System.Drawing classes to do image re-sizing I was able to pull something together pretty quickly. I modified the Cropper Clipboard Format plug-in to optionally re-size to a user specified width/height using InterpolationMode.HighQualityBicubic for image reduction.
  • 7
  • 0
  • 1257
  • 0

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (0)