Approved
Last Updated: 13 Dec 2016 07:43 by Saykor
ADMIN
Created by: Todor
Comments: 1
Category: ImageEditor
Type: Bug Report
2
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.
Approved
Last Updated: 16 Jan 2017 08:25 by ADMIN
When a RadBitmap is rotated to degrees for which sine and cosine are not integers (every angle which is not 90, 180, 270 or 360) applies wrongly calculated transformations and the bitmap' size is no longer correct.

For example, rotating a bitmap to -30 and then to 30 degrees changes its size.
Approved
Last Updated: 16 Jan 2017 09:39 by ADMIN
ADMIN
Created by: Todor
Comments: 0
Category: ImageEditor
Type: Bug Report
1
When RadBitmap objects which sources are big images (e.g. 2000x1500) are rotate, image quality loss is observed. Internally, RadBitmap.Rotate method is used.
Approved
Last Updated: 16 Jan 2017 10:34 by ADMIN
ADMIN
Created by: Mihail
Comments: 0
Category: ImageEditor
Type: Bug Report
0
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;
}
Approved
Last Updated: 07 Feb 2017 10:19 by ADMIN
When the ShapeTool is active and you execute another tool (lets say DrawTool) the UI becomes partially unresponsive. This includes the tools section and the tool settings panel.

The issue is reproducible in a NoXaml scenario (using implicit styles) and only if the Telerik.Windowls.Controls.ImageEditor.xaml ResourceDictionary is merged in the resources of the view where the control is defined (example: MainWindow.Resources).

To work this around define the ResourceDictionary in App.xaml.