2 // Tizen Web Device API
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 #ifndef _PLATFORM_CONTENT_EXIF_H_
20 #define _PLATFORM_CONTENT_EXIF_H_
27 #define EXIF_TAG_ORIENTATION 0x0112
32 ContentExif(std::string path);
33 virtual ~ContentExif();
36 bool SetExifChar(unsigned int tag, unsigned char value);
41 unsigned int read_2_bytes();
42 unsigned char nextByte();
49 unsigned char *m_exifBuf;
50 unsigned int m_tagCount;
51 unsigned int m_offset;
57 #endif // _PLATFORM_CONTENT_UTILITY_H_