This is a migrated thread and some comments may be shown as answers.

Effects look different from preview after applying

2 Answers 61 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Maurício
Top achievements
Rank 1
Maurício asked on 27 May 2014, 08:10 PM
Hello

After I apply any of the tools, the image doesn't look like the preview. 
I have made an image, showing the situation (image.jpg).

The top part shows the sharpen tool as an example, where:
1. Is the image after we select the sharpen tool
2. The image preview after changing the value from 0.0 to 2.0 (maximum)
3. Shows the image after applying the effect. 
As you can see, it looks different from the preview (2).

The lower part of the image shows the situation ocurring with the text tool, where we have:
1. The preview of the text, looks sharp and at the right position
2. The final image where the text moved and got larger.

I have also added the image I used in the example.










2 Answers, 1 is accepted

Sort by
0
Alex
Telerik team
answered on 30 May 2014, 02:34 PM
Hello,
Thank you for the detailed description. It looks like these are two separate issues.

About the DrawTextTool - the difference between the preview and the result is not expected. We have logged this bug and we will try to fix it in one of the next official releases.

About the SharpenTool - the difference between the preview and the result is due to the fact that the preview uses a shapen shader effect on a copy of the image in the preview panel to show the results of the effect in real time. However, the preview panel is scaled depending on the current zoom level, but when the tool actually applied - the shader is always executed on the image in its original size. The shapen tool can have slight variations in the result based on the scale of the image - so this is what you have noticed. The preview of the ShapenTool is accurate if the scale factor of the image editor is 100%. 

I hope that was helpful.

Regards,
Alex
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Maurício
Top achievements
Rank 1
answered on 30 May 2014, 02:38 PM
Yes, it was helpful

Thank you Alex
Tags
ImageEditor
Asked by
Maurício
Top achievements
Rank 1
Answers by
Alex
Telerik team
Maurício
Top achievements
Rank 1
Share this question
or