eLynx SDK
v3.3.0 C++ image processing API reference |
00001 //============================================================================ 00002 // ImageFileOptions.h Image.Component package 00003 //============================================================================ 00004 // Usage : 00005 //---------------------------------------------------------------------------- 00006 // Inheritance : 00007 //---------------------------------------------------------------------------- 00008 // Copyright (C) 2007 by eLynx project 00009 // 00010 // This library is free software; you can redistribute it and/or 00011 // modify it under the terms of the GNU Library General Public 00012 // License as published by the Free Software Foundation; either 00013 // version 2 of the License, or (at your option) any later version. 00014 // 00015 // This library is distributed in the hope that it will be useful, 00016 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00018 // See the GNU Library General Public License for more details. 00019 //---------------------------------------------------------------------------- 00020 #ifndef __ImageFileOptions_h__ 00021 #define __ImageFileOptions_h__ 00022 00023 namespace eLynx { 00024 namespace Image { 00025 00026 class ExportedByImage ImageFileOptions 00027 { 00028 public: 00029 ImageFileOptions() {_Quality = 90; _DPI = 0; } 00030 //ImageFileOptions(const ImageFileOptions&); 00031 //const ImageFileOptions& operator = (const ImageFileOptions&); 00032 00033 void SetQuality(const uint32 iQuality) { _Quality = iQuality; } 00034 uint32 GetQuality() const { return _Quality; } 00035 00036 void SetDPI(const uint32 iDPI) { _DPI = iDPI; } 00037 uint32 GetDPI() const { return _DPI; } 00038 00039 protected: 00040 uint32 _Quality; 00041 00042 00043 uint32 _DPI; 00044 }; 00045 00046 } // namespace Image 00047 } // namespace eLynx 00048 00049 #endif // __ImageFileOptions_h__