Drawing with the draw tool over the image with big size (e.g. 3000 x 2500) result in loss of quality. Workaround: In the DrawCommand use the following method to create a BitmapSource which should be used for creating a RadBitmapImage. public RadBitmap Execute(RadBitmap source, object context) { ... ... ... BitmapSource bitmapSource = GetBitmapSource(source.Width, source.Height, canvas); return new RadBitmap(bitmapSource); } private BitmapSource GetBitmapSource(int width, int height, Canvas surface) { Size size = new Size(width, height); surface.Measure(size); surface.Arrange(new Rect(size)); // Create a render bitmap and push the surface to it RenderTargetBitmap renderBitmap = new RenderTargetBitmap( (int) size.Width, (int) size.Height, 96d, 96d, PixelFormats.Pbgra32); renderBitmap.Render(surface); return renderBitmap; }
var stream = new MemoryStream();
image.Save(stream, System.Drawing.Imaging.ImageFormat.Png);
The RadImageEditorUI's tools (selection, shape, text, etc.) have different UI element representing their settings. Those are hosted in a settings panel. In case there are many options that cannot fit in the vertical size of the control, a scrollbar should get displayed. One example of this is the SelectionTool.
In the Office2019 and VisualStudio2019 themes, the vertical scrollbar doesn't get displayed.
To work this around, extract the ControlTemplate of SettingsPanel control. Then find the first RowDefinition of the root Grid panel and change its Height from Auto to star ( * ).
<Style TargetType="telerik:ToolSettingsPanel">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="telerik:ToolSettingsPanel">
<Grid Background="{TemplateBinding Background}">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<!-- other xaml here -->
If an image with dpi different than 96 (for example 300dpi) is imported and then some operations are made on it, the exported image is with 96dpi.
When Depth property is set it is expected that the undo stack would not keep more items than the depth value. However, this behaviour is not working in ImageHistory class and could lead to OutOfMemoryException when the stack gets full of ImageHistoryItem instances. Steps to reproduce: 1. Open ImageEditor and load some image. 2. Set ImageEditor.History.Depth = 1. 3. Make a few rotations. Expected: When making Undo you should be able to undo only the last rotation. Actual: You can Undo all the rotations meaning that Depth property is not respected.
The setting should be available in the settings UI, the DrawTextCommandContext and it should be respected in the DrawText command's Execute method. Scheduled for:
The feature will be available in R1 2019, scheduled for the mid of January 2019.
Add tool for creating selection, and integrate the other tools to work only in the selected region, if one is present.
Add an option to zoom towards the mouse cursor.
The localization strings in Shape tool and Draw tool don't have translations. As a workaround, these values could be manually added to the resource files (.resx). Image Editor Localization Help Article: http://docs.telerik.com/devtools/wpf/controls/radimageeditor/localization
As a workaround you can subscribe to the Loaded event of the control where you can set the IsPanningEnabled property. private void ImageEditor_Loaded(object sender, System.Windows.RoutedEventArgs e) { this.imageEditor.IsPanningEnabled = true; } Available in LIB version: 2017.1.213
When ScaleFactor property is set to 0, zooming in/out with the mouse wheel is not working. Available in R1 2017 Release
If you have a large image inside RadImageEditor or have zoomed a relatively big image, it would be great to have the ability to set panning on, so that the user can move around more easily. Available in R1 2017 Release
Implement a drawing tool that will enable drawing over the picture using the mouse. This feature will be available in our official release Q1 2015.
In Shape and DrawText tools there are strings which are not changed if the current culture is changed during the lifetime of an application.
Some formats that can be considered are JPEG 2000, CALS, GIF, IOCA, JBIG, JBIG2, TGA, TIFF, EXIF, ICO.
The feature will be available in our official release 2015 Q2 .
"Transparent" and "Automatic" strings in all ColorPickers in ImageEditor are hard coded. The fix will be available in our official release 2015 Q1.