Skip to content

Commit 282ba43

Browse files
authored
Merge branch 'development' into 986121-ie2
2 parents ae50cc4 + 947801e commit 282ba43

10 files changed

+156
-132
lines changed
Lines changed: 71 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,182 +1,185 @@
11
---
22
layout: post
33
title: End-user capabilities with Blazor Image Editor Component | Syncfusion
4-
description: Checkout the end-user capabilities available in Blazor Image Editor component in Blazor Server App and Blazor WebAssembly App.
4+
description: Explore end-user capabilities in the Blazor Image Editor component for Blazor Server and WebAssembly applications.
55
platform: Blazor
66
control: Image Editor
77
documentation: ug
88
---
99

1010
# End-user capabilities in the Blazor Image Editor component
1111

12-
The following operations are available for end-users and the same is explained briefly in these sections.
12+
The following operations are available for end users and are outlined in the sections below.
1313

1414
## Open an image
1515

16-
To open an image in the image editor, do the following steps.
16+
To open an image in the image editor, follow these steps:
1717

18-
* Click the Open icon from the left side of the toolbar.
18+
* Click the Open icon on the left side of the toolbar.
1919

20-
* The file explorer lists only JPEG, PNG, JPG, WEBP and BMP format files.
20+
* The file explorer lists only JPEG, PNG, JPG, WEBP, and BMP files.
2121

22-
* Select the image from the list of the images from the file explorer window.
22+
* Select an image from the file explorer to load it in the editor.
2323

2424
![Blazor Image Editor with Opening an image showcase](./images/blazor-image-editor-open.gif)
2525

2626
## Zooming
2727

28-
Image zooming can be performed in the following ways.
28+
Image zooming can be performed in the following ways:
2929

30-
* Using toolbar.
30+
* Using the toolbar
3131

32-
* Using pinch zoom in touch enabled devices.
32+
* Using pinch zoom on touch-enabled devices
3333

34-
* Using mouse wheel.
34+
* Using the mouse wheel
3535

36-
* Using keyboard.
36+
* Using the keyboard
3737

3838
![Blazor Image Editor with Zoom In/ Out an image showcase](./images/blazor-image-editor-end-zoom.jpg)
3939

4040
### Using toolbar
4141

42-
To zoom in or out the image in the image editor, do the following steps.
42+
To zoom the image using the toolbar:
4343

44-
* The Zoom In/ Out option only enabled after opening the image.
44+
* Zoom In/Out options are enabled after opening an image.
4545

4646
### Using pinch
4747

48-
To zoom in or out the image in the image editor, do the following steps.
48+
To zoom the image using touch gestures:
4949

50-
* Touch with two fingers to perform zooming.
50+
* Perform a two-finger pinch gesture to zoom in or out.
5151

52-
* Zoom in and out controlled by touch gestures.
52+
* Zoom level is controlled by the pinch distance.
5353

5454
### Using mouse wheel
5555

56-
To zoom in or out the image in the image editor, do the following steps.
56+
To zoom the image using the mouse:
5757

58-
* Press the ctrl key and scroll the mouse wheel to perform zooming.
58+
* Press Ctrl and scroll the mouse wheel to zoom in or out.
5959

60-
* The zoom in and out controlled by the mouse wheel.
60+
* Zoom level is adjusted based on the scroll direction.
6161

6262
### Using keyboard
6363

64-
To zoom in or out the image in the image editor, do the following steps.
64+
To zoom the image using keyboard shortcuts:
6565

66-
* Press the ctrl key with ‘+’ button from the keyboard to zoom in an image.
66+
* Press Ctrl + ‘+’ to zoom in.
6767

68-
* Press the ctrl key with ‘-’ button from the keyboard to zoom out an image.
68+
* Press Ctrl + ‘−’ to zoom out.
6969

7070
## Panning
7171

72-
To pan an image in the image editor, do the following steps.
72+
To pan the image in the editor:
7373

74-
* Click on the image and do dragging to move or pan the image.
74+
* Click and drag on the image to move it within the canvas.
7575

76-
* Panning option will be enabled in the following two cases.
76+
* Panning is enabled in the following cases:
7777

78-
* If the selection is applied for cropping an image.
78+
* When a selection is active for cropping.
7979

80-
* If the image size exceeds the canvas size while zooming an image.
80+
* When the image size exceeds the canvas size due to zooming.
8181

8282
![Blazor Image Editor with Panning an image showcase](./images/blazor-image-editor-pan.gif)
8383

8484
## Cropping and image transformation
8585

86-
To crop an image in the image editor, do the following steps.
86+
To crop and transform an image:
8787

88-
* Cropping can be performed based on the selection in an image editor.
88+
* Cropping is based on a selection within the editor.
8989

90-
* To perform selection, click the crop button in the toolbar which opens the contextual toolbar that shows crop selection options, rotate options, flip options, and straightening options.
90+
* Click the Crop button on the toolbar to open the contextual toolbar with crop selection, rotate, flip, and straighten options.
9191

92-
* Click the crop selection button and select the type of selection such as custom, circle, square, and ratio selection from the popup.
92+
* Click the crop selection button and choose a selection type: custom, circle, square, or ratio.
9393

94-
* Once selection is completed, do panning to move the image to get the cropped region.
94+
* After creating a selection, pan the image to position the desired crop region.
9595

96-
* Utilize the rotate and flip buttons along with the straighten slider to perform image transformations, including any inserted annotations.
96+
* Use rotate and flip buttons and the straighten slider to apply transformations, including to inserted annotations.
9797

98-
* Once the cropping region is finalized in the image click the tick icon at the top right of the toolbar to crop the image.
98+
* When the crop region is finalized, click the tick icon at the top-right of the toolbar to apply the crop.
9999

100100
![Blazor Image Editor with Cropping and Image Transformation showcase](./images/blazor-image-editor-end-crop.jpg)
101101

102102
## Image annotation
103103

104-
To add annotations to an image in the image editor, do the following steps.
104+
To add and modify annotations:
105105

106-
* To add annotation, click the annotation button in the toolbar and select the type of annotations such as Line, Rectangle, Ellipse, Path, Arrow, Text, or Freehand drawing to be inserted to the image editor.
106+
* Click the annotation button on the toolbar and choose an annotation type: Line, Rectangle, Ellipse, Path, Arrow, Text, or Freehand Drawing.
107107

108-
* Once the annotation is added to the image, that can be repositioned by clicking and dragging the annotations using mouse as well as resized by clicking and resizing the selection circle to be placed around the annotations.
108+
* Click and drag on the image to draw the selected annotation.
109109

110-
* To rotate annotations, you can simply grab the circle located at the bottom of the annotation. The rotation can be applicable to all the annotations except text annotation.
110+
* After insertion, annotations can be repositioned by clicking and dragging with the mouse, and resized by interacting with the selection circle placed around the annotation.
111111

112-
* Customize the annotations by changing their color, stroke width, font family, and font size through the contextual toolbar. The contextual toolbar will be enabled whenever the annotations are selected.
112+
* To rotate an annotation, drag the circle at the bottom of the annotation.
113113

114-
* When annotations are selected in the image editor, the quick access toolbar becomes active, providing convenient access to various actions such as duplicating, deleting, or editing text associated with the selected annotation. This toolbar enables users to perform these common operations quickly and efficiently, streamlining their workflow and enhancing the overall editing experience.
114+
* Customize annotations using the contextual toolbar: color, stroke width, font family, and font size. The contextual toolbar appears when an annotation is selected.
115+
116+
* When annotations are selected, the quick access toolbar enables common actions such as duplicate, delete, and edit text to streamline editing.
115117

116118
![Blazor Image Editor with annotation showcase](./images/blazor-image-editor-end-annotation.jpg)
117119

118-
## Filtering and fine-tune
120+
## Fine-tune
119121

120-
To perform fine-tuning on an image in the image editor, do the following steps.
122+
To apply fine-tuning adjustments:
121123

122-
* Click the fine-tune button which displays the list of fine-tuning available in the image editor.
124+
* Click the Fine-tune button to display available adjustments.
123125

124-
* Click one of the fine-tune options from the list of options which shows a slider to adjust the corresponding filter.
126+
* Choose an adjustment to display a slider for control.
125127

126-
* Click on the canvas or tick icon at the right corner of the toolbar in the image editor to apply the modifications.
128+
* Click on the canvas or the tick icon at the right corner of the toolbar to apply changes.
127129

128130
![Blazor Image Editor with Filtering and finetune showcase](./images/blazor-image-editor-end-finetune.jpg)
129131

130-
To apply filters on an image in the image editor, do the following steps.
132+
## Filter
133+
134+
To apply filters:
131135

132-
* Click the filter button which displays the list of filters available in the image editor.
136+
* Click the Filter button to display available filters.
133137

134-
* Click the filter from list of options to apply the corresponding filter to an image.
138+
* Select a filter to apply it to the image.
135139

136-
* Click on the canvas or tick icon at the right corner of the toolbar in the image editor to apply the modifications.
140+
* Click on the canvas or the tick icon at the right corner of the toolbar to apply changes.
137141

138142
![Blazor Image Editor with Filtering and finetune showcase](./images/blazor-image-editor-end-filter.jpg)
139143

140144
## Undo and redo the operations
141145

142-
To undo and redo the actions performed in an image editor, do the following steps.
146+
To undo and redo actions in the editor:
143147

144-
* The undo button will be enabled once the action is performed in an image editor.
148+
* The Undo button is enabled after an action is performed.
145149

146-
* The redo button will be enabled once the undo action is performed in an image editor.
150+
* The Redo button is enabled after an undo action is performed.
147151

148-
* Click the undo or redo button at the left side of the toolbar to perform undo and redo operation.
152+
* Click the Undo or Redo button on the left side of the toolbar.
149153

150-
* Ctrl + Z and Ctrl + Y facilitates this process by allowing users to undo and redo actions, respectively.
154+
* Keyboard shortcuts: Ctrl + Z (undo) and Ctrl + Y (redo).
151155

152156
![Blazor Image Editor with Undo and redo showcase](./images/blazor-image-editor-undo-redo.gif)
153157

154158
## Reset an image
155159

156-
To revert all the changes done in an image editor, do the following steps.
160+
To revert all changes in the editor:
157161

158-
* Click the reset button which is located on the right side of the toolbar.
162+
* Click the Reset button on the right side of the toolbar.
159163

160-
* This will revert all the changes performed in the image editor.
164+
* This action reverts all modifications applied in the editor.
161165

162166
## Export an image
163167

164168
To save the modified image in the Image Editor, follow these steps:
165169

166-
* Click the Save Button
167-
* Locate the Save button on the right side of the toolbar and click it.
170+
* Click the Save button
171+
* Locate the Save button on the right side of the toolbar and click it.
168172

169-
* Select the File Format
170-
* In the export popup, choose your preferred file format (PNG, JPEG, SVG, or WEBP) to save the image with all
171-
applied modifications.
173+
* Select the file format
174+
* In the export popup, choose the preferred file format (PNG, JPEG, SVG, or WEBP) to save the image with all applied modifications.
172175

173-
* Adjust Image Quality (JPEG Format Only)
174-
* If saving in JPEG, use the Image Quality slider to set the desired quality level (0-100). A higher value retains more detail but increases file size.
176+
* Adjust image quality (JPEG only)
177+
* If saving as JPEG, use predefined settings (Good, Great, Highest) or use the Image Quality slider (0100). Higher values retain more detail and increase file size.
175178

176-
* Download the Image
177-
* Click Download to save the modified image to your device.
179+
* Download the image
180+
* Click Download to save the modified image.
178181

179-
* Use Keyboard Shortcut (Ctrl + S)
180-
* Press Ctrl + S to download the image in the same format as the loaded image without opening the Save dialog. For example, if the loaded image is PNG, it will be saved as PNG.
182+
* Use keyboard shortcut (Ctrl + S)
183+
* Press Ctrl + S to download the image in the same format as the loaded image without opening the Save dialog. For example, if the loaded image is PNG, it will be saved as PNG.
181184

182185
![Blazor Image Editor with Export an image showcase](./images/blazor-image-editor-end-save.jpg)

blazor/image-editor/filter.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
---
22
layout: post
33
title: Filter with Blazor Image Editor Component | Syncfusion
4-
description: Checkout the Filter available in Blazor Image Editor component in Blazor Server App and Blazor WebAssembly App.
4+
description: Explore image filter options in the Blazor Image Editor component for Blazor Server and WebAssembly applications.
55
platform: Blazor
66
control: Image Editor
77
documentation: ug
88
---
99

1010
# Filters in the Blazor Image Editor component
1111

12-
Filters are pre-defined effects that can be applied to an image to alter its appearance or mood. Image filters can be used to add visual interest or to enhance certain features of the image. Some common types of image filters include cold, warm, chrome, sepia, and invert.
12+
Filters are predefined effects that modify an image’s appearance or mood. They can add visual emphasis or enhance specific elements of an image. Common filters include cold, warm, chrome, sepia, and invert.
1313

1414
## Apply filter effect
1515

16-
The [`ApplyImageFilterAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.ImageEditor.SfImageEditor.html#Syncfusion_Blazor_ImageEditor_SfImageEditor_ApplyImageFilterAsync_Syncfusion_Blazor_ImageEditor_ImageFilterOption_) method is utilized to apply filters to an image. By passing the desired filter type as the first parameter of the method, specified as [`ImageFilterOption`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.ImageEditor.ImageFilterOption.html) the method applies the corresponding filter to the image. This allows for easy and convenient application of various filters to enhance or modify the image based on the chosen filter type.
17-
18-
The `ApplyImageFilterAsync` method is used to perform filtering by specifying the type of filter as `ImageFilterOption` and send it a first parameter of the method.
16+
The [ApplyImageFilterAsync](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.ImageEditor.SfImageEditor.html#Syncfusion_Blazor_ImageEditor_SfImageEditor_ApplyImageFilterAsync_Syncfusion_Blazor_ImageEditor_ImageFilterOption_) method applies a filter to the image. Provide the desired filter as the first parameter using the [ImageFilterOption](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.ImageEditor.ImageFilterOption.html) enumeration.
1917

2018
Here is an example of filtering using the `ApplyImageFilterAsync` method.
2119

@@ -77,14 +75,14 @@ Here is an example of filtering using the `ApplyImageFilterAsync` method.
7775
}
7876
```
7977

80-
![Blazor Image Editor with Filter an image](./images/blazor-image-editor-filter.jpg)
78+
![Blazor Image Editor showing a filter applied to an image](./images/blazor-image-editor-filter.jpg)
8179

82-
### Image filtering event
80+
## Image filtering event
8381

84-
The [`ImageFiltering`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.ImageEditor.ImageEditorEvents.html#Syncfusion_Blazor_ImageEditor_ImageEditorEvents_ImageFiltering) event is triggered when applying filtering on the image. This event is passed an object that contains information about the filtering event, such as the type of filtering.
82+
The [ImageFiltering](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.ImageEditor.ImageEditorEvents.html#Syncfusion_Blazor_ImageEditor_ImageEditorEvents_ImageFiltering) event is triggered when a filter is applied to the image. The event provides details about the action.
8583

86-
The parameter available in the [`ImageFilterEventArgs`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.ImageEditor.ImageFilterEventArgs.html) event is,
84+
Parameters available in [ImageFilterEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.ImageEditor.ImageFilterEventArgs.html):
8785

88-
ImageFilterEventArgs.Filter - The type of filtering as ImageFilterOption to be applied in the image editor.
86+
- [ImageFilterEventArgs.Filter](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.ImageEditor.ImageFilterEventArgs.html#Syncfusion_Blazor_ImageEditor_ImageFilterEventArgs_Filter) - The filter type, as an `ImageFilterOption`, to be applied.
8987

90-
ImageFilterEventArgs.Cancel – Specifies to cancel the filtering action.
88+
- [ImageFilterEventArgs.Cancel](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.ImageEditor.ImageFilterEventArgs.html#Syncfusion_Blazor_ImageEditor_ImageFilterEventArgs_Cancel) - Indicates whether the filtering action should be canceled.

0 commit comments

Comments
 (0)