We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The ASP.NET Core Image Editor is a UI control for editing and enhancing images. With built-in support users can crop, rotate, flip, zoom, and apply filters. Additionally, users can annotate images with shapes such as rectangles, ellipses, lines, and text, as well as freehand drawings.


Selection and cropping

The ASP.NET Core Image Editor makes it easy to get a perfect crop every time using multiple selection options, including square, circle, and customizable aspect ratios. The selection region can be dragged and resized for cropping an image.

Custom selection

Draw a custom selection rectangle on an image which can be repositioned by dragging and resizing it to get the desired selection.

ASP.NET Core Image Editor custom selection

ASP.NET Core Image Editor square selection

Square selection

Crop images into perfect square regions or maintain their aspect ratios.

Circle selection

Crop images into perfect circular regions.

ASP.NET Core Image Editor circle selection

ASP.NET Core Image Editor ratio selection

Predefined aspect ratios

Customize selection regions for cropping images according to predefined aspect ratios, including 4:3, 7:5, 16:9, and more.


Image annotations

The Image Editor has multiple annotation tools, including text, freehand drawings, and shapes like rectangles, ellipses, and lines.

Text annotation

Users can add a text (captions, labels, or other types of text-based information) to an image using the text annotation tool. The text annotation can be inserted anywhere on the image and customized by changing its color, font family, font size, and font styles such as bold and italic.

ASP.NET Core Image Editor text shape

ASP.NET Core Image Editor freehand drawing

Freehand drawing annotation

Add hand-drawn content to an image using a mouse or touch. With the freehand drawing annotation, users can customize the pen color and stroke width to suit their needs. Also, it can be used in combined with other annotation tools, such as text and shapes, to create rich, annotated images.

Shapes annotation

Add shapes, such as rectangles, ellipses, and lines, to an image. With the shape annotation tool, customize the border color, fill color, and border width of the shapes.

ASP.NET Core Image Editor shapes


Transform images

The Image Editor has built-in support to transform images by rotating, flipping, and zooming.

Rotate an image

Users can rotate images with annotations clockwise or counterclockwise.

ASP.NET Core Image Editor rotate

ASP.NET Core Image Editor flip

Flip an image

Flip images with annotations horizontally or vertically for creating a mirror image of the original image.

Zoom in/out images

Users can adjust the size of an image by zooming in or out to fine-tune their edits and achieve the exact results. The pan tool can also be used to reveal hidden areas of an image.

ASP.NET Core Image Editor zoom


ASP.NET Core Image Editor

Loading an image initially

Easily load an image into the image editor as a base 64 string or URL. URLs can be PNG, JPEG, and SVG image types.


Image Editor toolbar

Offers a wide range of tools for annotating, selecting, cropping, zooming, panning, rotating, flipping, filtering, and more, enabling users to fully edit and manipulate their images. Additionally, users can customize the toolbar by defining some items or the entire toolbar.

ASP.NET Core Image Editor Toolbar


ASP.NET Core Image Editor Export

Exporting and saving images

Exporting images to Base64 for database storage, and saving the image as PNG, JPEG, or SVG.


Localization

Localize user interface strings of the ASP.NET Core Image Editor control using the localization (l10n) library.

ASP.NET Core Image Editor Localization


Touch-friendly editing

For a seamless experience on all devices, the ASP.NET Core Image Editor includes a responsive mode that adapts the UI for mobile devices and offers a great user experience on phones, tablets, and desktops.

Developer-friendly APIs

With its extensive set of APIs, developers can control the appearance and behaviors of the Image Editor to suit their needs.

Built-in themes

The ASP.NET Core Image Editor features built-in themes such as Bootstrap 5, Tailwind CSS, Fluent, high contrast, and more. Users can customize these themes or create their own using SASS variables or the Theme Studio application to achieve the desired look and feel.


Other supported frameworks

In addition to ASP.NET Core, the Image Editor component is also available for the React, Vue, Angular, and JavaScript frameworks. You can access the component on these platforms using the links below.


ASP.NET Core Image Editor Code Example

Easily get started with the ASP.NET Core Image Editor using a few simple lines of CSHTML and C# code example as demonstrated below. Also explore our ASP.NET Core Image Editor Example that shows you how to render and configure the Image Editor in ASP.NET Core.

@using Syncfusion.EJ2
@section ControlsSection{

    <div class="col-lg-12 control-section e-img-editor-sample">
        <ejs-imageeditor id="image-editor" created="created"></ejs-imageeditor>
    </div>

    <script>
        function created() {
            var imageEditorObj = ej.base.getComponent(document.getElementById('image-editor'), 'image-editor');
            if (ej.base.Browser.isDevice) {
                imageEditorObj.open('../images/ImageEditor/flower.png');
            } else {
                imageEditorObj.open('../images/ImageEditor/bridge.png');
            }
            imageEditorObj.theme = window.location.href.split('#/')[1];
        }
    </script>
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

namespace EJ2CoreSampleBrowser.Controllers
{
    public partial class ImageEditorController : Controller
    {
        public IActionResult DefaultFunctionalities()
        {
            return View();
        }
    }
}



80+ ASP.NET CORE UI CONTROLS

Frequently Asked Questions

  • Built-in support for cropping, rotating, flipping, zooming, and applying filters to images.(https://ej2.syncfusion.com/aspnetcore/documentation/image-editor/annotation).
  • Easily export edited images in JPEG, PNG, and SVG formats.
  • Annotate images with shapes and customize their appearance.
  • One of the best ASP.NET Core Image Editors in the market, that offers a feature-rich UI to interact with the software.
  • Simple configuration and APIs.
  • Support for all modern browsers.
  • Expansive learning resources such as demos and documentation to let you get started quickly with ASP.NET Core Image Editor.

You can find our ASP.NET Core Image Editor demo, which demonstrates how to render and configure the Image Editor.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version Download Free Trial

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile