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

Server side Resize()

2 Answers 80 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
softwarea
Top achievements
Rank 1
softwarea asked on 20 Sep 2011, 03:06 PM
Hi guys,

I'm trying to resize an EditableImage on the server side.

// Resize image to the required resolution
EditableImage image = new EditableImage(currentImage);
image.Resize(imageWidth, imageHeight);

Using this code the image is simply cropped to the given resolution. Is this behaviour intended?
I was hoping for the whole image to become bigger or smaller depending on it's original size. 

2 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 23 Sep 2011, 01:49 PM
Hi Softwarea,

I tried to reproduce the problem but without success. Could you please see my test and let me know if I am missing something: http://screencast.com/t/8wXxmtSbb8DV?

Please also modify the attached project so that it demonstrates the problem and send it back for examination via a support ticket.

Thank you for your assistance in advance.

Best regards,
Rumen
the Telerik team
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 their blog feed now
0
softwarea
Top achievements
Rank 1
answered on 24 Sep 2011, 06:35 AM
Thanks Rumen,

I don't know what I missed, but indeed it is working for me as well now.

Thanks for your assistance (and the great video ;-))
Tags
ImageEditor
Asked by
softwarea
Top achievements
Rank 1
Answers by
Rumen
Telerik team
softwarea
Top achievements
Rank 1
Share this question
or