2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #ifndef __TIZEN_MEDIA_IMAGE_UTIL_DOC_H__
19 #define __TIZEN_MEDIA_IMAGE_UTIL_DOC_H__
22 * @file image_util_doc.h
23 * @brief This file contains high level documentation of the Multimedia Service.
27 * @defgroup CAPI_MEDIA_IMAGE_UTIL_MODULE Image Util
28 * @brief The @ref CAPI_MEDIA_IMAGE_UTIL_MODULE APIs provides functions for common of images .
30 * @ingroup CAPI_MEDIA_FRAMEWORK
32 * @section CAPI_MEDIA_IMAGE_UTIL_MODULE_HEADER Required Header
33 * \#include <image_util.h>
35 * @section CAPI_MEDIA_IMAGE_UTIL_MODULE_OVERVIEW Overview
37 * Image Util API provides support for common functions of images. The API allows :
38 *- Calculate the size of the image buffer for the specified resolution and colorspace to be used in the image util module.
39 *- Extracts representative color from an image buffer.
41 * The API consists of @ref CAPI_MEDIA_IMAGE_UTIL_TRANSFORM_MODULE,@ref CAPI_MEDIA_IMAGE_UTIL_ENCODE_DECODE_MODULE.
45 * @defgroup CAPI_MEDIA_IMAGE_UTIL_TRANSFORM_MODULE Image Util Transform
46 * @brief The @ref CAPI_MEDIA_IMAGE_UTIL_TRANSFORM_MODULE APIs provides functions for transforming of images .
48 * @ingroup CAPI_MEDIA_IMAGE_UTIL_MODULE
50 * @section CAPI_MEDIA_IMAGE_UTIL_MODULE_TRANSFORM_HEADER Required Header
51 * \#include <image_util.h>
53 * @section CAPI_MEDIA_IMAGE_UTIL_MODULE_TRANSFORM_OVERVIEW Overview
55 * Image Util API provides support for transforming of images. The API allows :
56 *- Image transformation(Colorspace conversion/Resize/Rotate/Crop) .
58 * The API allows to transform(Colorspace conversion/Resize/Rotate/Crop) including convert the colorspace(#image_util_colorspace_e) of an image by calling
59 * #image_util_transform_run() function.
63 * @defgroup CAPI_MEDIA_IMAGE_UTIL_ENCODE_DECODE_MODULE Image Util Encode/Decode
64 * @brief The @ref CAPI_MEDIA_IMAGE_UTIL_ENCODE_DECODE_MODULE APIs provides functions for encoding and decoding of images .
66 * @ingroup CAPI_MEDIA_IMAGE_UTIL_MODULE
68 * @section CAPI_MEDIA_IMAGE_UTIL_MODULE_ENCODE_DECODE_HEADER Required Header
69 * \#include <image_util.h>
71 * @section CAPI_MEDIA_IMAGE_UTIL_MODULE_ENCODE_DECODE_OVERVIEW Overview
73 * Image Util API provides support for encoding and decoding of images. The API allows :
74 *- Encoding of a JPEG/PNG/GIF/BMP image.
75 *- Decoding of a JPEG/PNG/GIF/BMP image.
76 * Encoding supports gif images including the animated, but decoding gif does not support the animated.
78 * The decoding of a jpeg/png/gif/bmp image located at a given path, to a buffer can be done by calling #image_util_decode_run() function and decoding of a jpeg image on memory
79 * can be done by calling #image_util_decode_set_output_buffer(). Similarly, for encoding #image_util_encode_run() and #image_util_encode_set_output_buffer() functions can be called
80 * to encode an image buffer to a jpeg/png/gif/bmp image and a buffer respectively.
82 * @subsection CAPI_MEDIA_IMAGE_UTIL_ENCODE_DECODE_FOREACH_OPERATIONS Foreach Operations
83 * <div><table class="doxtable" >
85 * <th><b>FOREACH</b></th>
86 * <th><b>CALLBACK</b></th>
87 * <th><b>DESCRIPTION</b></th>
90 * <td>image_util_foreach_supported_colorspace()</td>
91 * <td>image_util_supported_colorspace_cb()</td>
92 * <td> Supported JPEG/PNG/GIF/BMP encoding/decoding colorspace</td>
97 #endif /* __TIZEN_MEDIA_IMAGE_UTIL_DOC_H__ */