* @remarks http://tizen.org/privilege/mediastorage is needed if input or output path points to media storage. \n
* http://tizen.org/privilege/externalstorage is needed if input or output path points to external storage. \n
* The width and height of the thumbnail to be generated cannot exceed 2000. \n
+ * The width and height of the thumbnail to be generated cannot exceed the original resolution. \n
*
* @param[in] path The path of the original media file
* @param[in] width The width of the thumbnail
* @remarks http://tizen.org/privilege/mediastorage is needed if input or output path points to media storage. \n
* http://tizen.org/privilege/externalstorage is needed if input or output path points to external storage. \n
* The width and height of the thumbnail to be generated cannot exceed 2000. \n
+ * The width and height of the thumbnail to be generated cannot exceed the original resolution. \n
* In the case of video file, color space of the generated thumbnail is RGB. \n
* In the case of image file, color space of the generated thumbnail is BGRA. \n
* The @a thumb_buffer should be released using free().