|115154||Dec 30,2013 03:56 PM UTC||Jan 6,2014 06:11 AM UTC||Orubase||7|
Thanks for your interest in Orubase.
We have tested the Take Photo size issue and we are not able to reproduce the issue. However we have prepared the Image upload sample with full resolution images for your reference.
Could you please let us know the platform (iOS, Android, WP7) in which you are facing this issue if the issue is still not resolved, so that we can analyze further and provide a solution.
Sorry for the inconvenience caused.
The following options are available in Orubase CaptureImage API.
Name : Users allowed to get the image with given name. This options allowed to enter name for the image. Captured image will be returned with given name. If there is no name given image will be returned with set of random characters.
Quality : 1 to 100 to represents the image quality
Default value to this option is “50”.
Uritype : Available input types are file and data. Taking picture via Capture API saves image in application memory. And also
If the URI type is set to file, the file path for the image in application storage will be returned.
If the URI type is set to data, then the image base64 data will be returned in success method.
Default value to this option is “data”.
saveToPhotoLibrary : Boolean option for storing image into device photo library.
If saveToPhotoLibrary is true, then the captured image will be stored in device photo library.
If saveToPhotoLibrary is false, then the captured image will not be stored in device photo library.
Default value to this option is “true”.
cameraDirection : Available options are front and back.
It determines the captureImage will call the native camera with front or rear camera opened.
Default value for this option is “back"
Size : Users allowed to set the size for the captured image. Size format height * width.
Encodingtype : Available encoding types are JPEG and PNG. For the given input it will return the respective type of image.
The option saveToPhotoLibrary available to prevent storing image from device photo library.
Also it is possible to upload image to the server and delete the image from device by following the below steps.
1 . Call capture image to take photo
2 . Upload photo using Orubase FileTransfer API.
3 . Then delete the file using Orubase Storage Delete file API. For more information on file API please follow the link http://help.syncfusion.com/UG/orubase/documents/filestorage.htm
For android input directory name as “CaptureImage” and file name.
For Windows phone input directory name as “OrubaseCameraImages” and file name
Currently we do not have options for deleting image from application memory in iOS.
We will update the same in online Orubase documentation as soon as possible.
Please let us know if you have any queries.
Thanks for the update and please let us know if you need any further assistance
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.