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

ImageEditor + RadUpload

4 Answers 14 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 20 Nov 2014, 06:40 AM
I need to combine the ImageEditor with RadUpload so that ImageEditor would have an Upload Button similar to Save Button, just instead of saving the image, it would upload it to a preconfigured Web site.

The workflow would be like this:
1. In ImageEditor, use Open to open an image
2. Edit the image anyway you like it (i.e. crop it)
3. Without saving the image, click on Upload Button and have the edited image uploaded with upload progress showing.

How do I go about it?

Additional question, how do I add capture from WebCam, in addition to Open Button?


Thanks

4 Answers, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 21 Nov 2014, 06:52 PM
Hello Alex,

There is an example very similar to your requirements in our SDK repository. You can either navigate to the Rad Upload Integration demo with the SDK Samples Browser or browse the code directly in GitHub.

As to taking a capture, you can try using the GetAvailableVideoCaptureDevices() method to obtain the device and call the Start() method of the capture source. Note that due to Silverlight's security policy you'd need to request access from the user first.

I hope this helps.

Regards,
Petya
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Alex
Top achievements
Rank 1
answered on 05 Dec 2014, 07:28 PM
I want to upload the image as a jpg file. I can use JpegFormatProvider but I do not see how to configure the desired jpg settings, like quality? What is the default quality setting?
0
Alex
Top achievements
Rank 1
answered on 05 Dec 2014, 08:31 PM
I am getting "Specified method is not supported." error when I try to use 

JpegFormatProvider jpg = new JpegFormatProvider();
 jpg.Export(radImageEditor.ImageEditor.Image, stream);

0
Todor
Telerik team
answered on 10 Dec 2014, 07:54 AM
Hello Alex,

In Silverlight the export functionality is not available for the JpegFormatProvider. You can refer to the RadImageEditor's Import/Export help article for more information on that matter.

If you have further questions, please get back to us.

Regards,
Todor
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ImageEditor
Asked by
Alex
Top achievements
Rank 1
Answers by
Petya
Telerik team
Alex
Top achievements
Rank 1
Todor
Telerik team
Share this question
or