4 Answers, 1 is accepted
0
Hello Stefan,
Thank you for your question.
The ImageEditor has a built-in tool which allows the users to rotate an inserted image. You can refer to the Rotate Image demo exhibiting this functionality on our demos website. Also, the following article in the control's documentation specifies the exact tools responsible for it: Rotate, RotateRight, and RotateLeft: ImageEditor's tools.
I hope that you will find the provided information helpful.
Regards,
Ivaylo
Telerik
Thank you for your question.
The ImageEditor has a built-in tool which allows the users to rotate an inserted image. You can refer to the Rotate Image demo exhibiting this functionality on our demos website. Also, the following article in the control's documentation specifies the exact tools responsible for it: Rotate, RotateRight, and RotateLeft: ImageEditor's tools.
I hope that you will find the provided information helpful.
Regards,
Ivaylo
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Stefan
Top achievements
Rank 1
answered on 24 Jun 2013, 09:11 AM
Hello Ivaylo,
Thank you for the response but I think you misunderstood my question.
I'm thinking of the image that the user has inserted to the already available image in the editor.
Example:
User inserts an image via the InsertImage command, there he can specify the x/y coordinates and the size of the image in the predefined dialog. Is it possible that he can rotate the image to insert in the editor (not the whole image in the ImageEditor, just the inserted one)?
Thank you & Regards
Thank you for the response but I think you misunderstood my question.
I'm thinking of the image that the user has inserted to the already available image in the editor.
Example:
User inserts an image via the InsertImage command, there he can specify the x/y coordinates and the size of the image in the predefined dialog. Is it possible that he can rotate the image to insert in the editor (not the whole image in the ImageEditor, just the inserted one)?
Thank you & Regards
0
Hello Stefan,
Thank you for the provided clarifications.
I am afraid that, currently, we have not implemented and do not support any methods that would expose the desired functionality, neither in the UI, nor in the code. Thus, I cannot provide any possible suggestions on how to achieve it.
Should you have any other questions, do not hesitate to contact us.
Regards,
Ivaylo
Telerik
Thank you for the provided clarifications.
I am afraid that, currently, we have not implemented and do not support any methods that would expose the desired functionality, neither in the UI, nor in the code. Thus, I cannot provide any possible suggestions on how to achieve it.
Should you have any other questions, do not hesitate to contact us.
Regards,
Ivaylo
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Arron
Top achievements
Rank 1
answered on 21 Aug 2013, 09:46 AM
The telerik works well on ratating images, and I also want to share some code I used to rotate the inserted images:
I hope it helps. Or you can choose some other image processing SDKs to help you rotate the inserted images. Good luck.
Best regards,
Arron
using System.IO;
using System.Drawing.Printing;
using Yiigo.Imaging;
using Yiigo.Imaging.Processing;
// Rotate image to 90 degrees
using YiigoImage Image = new YiigoImage();
{
string ImageID = (@"C:\ yiigo_example.jpg");
RotateAngle Rotation = RotateAngle.90;
}
Image. YiigoImageProcessRotate(@"C:\ yiigo_example.jpg", RotateAngle.90);
Image.save(@"C:\ yiigo_example.jpg");
// Rotate image to 180 degrees
using YiigoImage Image = new YiigoImage();
{
string ImageID = (@"C:\ yiigo_example.jpg");
RotateAngle Rotation = RotateAngle.180;
}
Image. YiigoImageProcessRotate(@"C:\ yiigo_example.jpg", RotateAngle.180);
Image.save(@"C:\ yiigo_example.jpg");
// Rotate image to 270 degrees
using YiigoImage Image = new YiigoImage();
{
string ImageID = (@"C:\ yiigo_example.jpg");
RotateAngle Rotation = RotateAngle.270;
}
Image. YiigoImageProcessRotate(@"C:\ yiigo_example.jpg", RotateAngle.270);
Image.save(@"C:\ yiigo_example.jpg");
Best regards,
Arron