Hi,
I am developing Nokia (WRT) application using APIBridge.
I have used getMediaManagementService() service of APIBridge, to fetch all the image objects from the phonegallery. The code is as follows..
Every object in "image_gallery", it gets values for the following properties..Code:var mms = APIBridge.getMediaManagementService(); var criteria = { sort: { key: "FileDate", order: "Descending" }, Type: "FileInfo", Filter: { FileType: "Image" } }; mms.GetList(criteria, function(transId, eventCode, result) { if (hasError(result)){ return; } result.ReturnValue.reset(); image_gallery = []; while ( image_obj = result.ReturnValue.getNext() ) { image_gallery.push(image_obj); } } );
FileName,
FileExtension,
Drive,
FileSize,
FileDate,
FileNameAndPath,
MimeType
But unable to get the image dimensions (height and width), with which I have some logic to be implemented like.. I will not be accepting the images below certain values of height and width.
Is there any function or service to get the image dimensions?
Please help me out in geting those values of an image.

Reply With Quote


