All posts

A quick, but not so dirty Image Editor using the public RadEditor ImageEditing API

The ImageEditor dialog in RadEditor has been around for about half a year, providing much wanted common image editing capabilities to the editor's end users.

 

 

 This dialog in fact is the front-end of a basic image editing engine that has been built into the Telerik.Web.UI.dll. Some time ago our colleague Todd Anglin suggested that we make the API public so it can be used independent of the editor. Sounded like a good idea - and the coming Q3 2008 will allow you to take advantage of it :)

 And since the functionality is already available in the already released RadControls Futures (which acts as a public beta for the Q3), we have assembled a small, but elegant looking example (thanks to the styling capabilities of RadFormDecorator) that features a basic image editor, being used independently of RadEditor itself.

Here is a how the editor looks like:

The attached project will show you how to:

  • Create thumbnails
  • Use the following image editing options:
    • Opacity
    • Resize
    • Flip
    • Rotate
    • Crop
  • Preview the changes
  • Overwrite the original image
The sample project, featuring Telerik RadControls Futures Q3 2008 Trial can be downloaded here

Facebook DZone It! Digg It! StumbleUpon Technorati Del.icio.us NewsVine Reddit Blinklist Furl it!

Comments  5

  • 23 Oct, 10:52 AM

    Would it be possible to port this library to Silverlight suite? My first preference to have this as client side, however at worst case, we could also use it as server side where we could send the image to a service that includes these libraries and get back the result.

    Could you discuss this between SL and WinForm team? Don't forget to invite Valentin ;-)

    Ben Hayat

  • 24 Oct, 02:26 AM

    I think that we could easily prepare very similar Silverlight demo and when RadEditor for Silverlight is ready, we could include this functionality in it. Most probably shortly after Q3 (the beginning of November) I will create a blog post about this.

    Valeri Hristov

  • 24 Oct, 09:52 AM

    Can this use other image.dll supporting more imageformat, and just have the UI/JSfunctions?
    perhaps imageGlue using EPS/TIFF and other imageformats.

    Pelle

  • 24 Oct, 10:33 AM

    Valeri;

    Thank you for the reply. I got a bit confused on the following line:
    ----------
    "I think that we could easily prepare very similar Silverlight demo and when RadEditor for Silverlight is ready, we could include this functionality in it"
    -----------
    Are you saying you could "prepare very similar Silverlight demo" NOW or are you saying, once the Bitmap features are built into RADSilverlight, then you can demo?

    That's one area that I have not discussed with Valentin in more detail. I think after Q3 release, I need go deeper on Imaging part more deeper!

    Looking forward to your SL Sample!

    Ben Hayat

  • 27 Oct, 04:28 AM

    I mean several weeks after Q3 (beginning of November).

    Valeri Hristov

Post a comment!
  1. Formatting options
       
     
     
     
     
       
  2. Security image