Add method to for ICC profile
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
cmake_minimum_required(VERSION 3.14)
|
cmake_minimum_required(VERSION 3.14)
|
||||||
|
|
||||||
project(libXISF VERSION 0.2.4 LANGUAGES CXX C
|
project(libXISF VERSION 0.2.5 LANGUAGES CXX C
|
||||||
HOMEPAGE_URL https://gitea.nouspiro.space/nou/libXISF
|
HOMEPAGE_URL https://gitea.nouspiro.space/nou/libXISF
|
||||||
DESCRIPTION "LibXISF is C++ library that can read and write XISF files produced by PixInsight.")
|
DESCRIPTION "LibXISF is C++ library that can read and write XISF files produced by PixInsight.")
|
||||||
|
|
||||||
|
|||||||
+10
@@ -358,6 +358,16 @@ bool Image::addFITSKeywordAsProperty(const String &name, const String &value)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const ByteArray &Image::iccProfile() const
|
||||||
|
{
|
||||||
|
return _iccProfile;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Image::setIccProfile(const ByteArray &iccProfile)
|
||||||
|
{
|
||||||
|
_iccProfile = iccProfile;
|
||||||
|
}
|
||||||
|
|
||||||
void *Image::imageData()
|
void *Image::imageData()
|
||||||
{
|
{
|
||||||
return _dataBlock.data.size() ? _dataBlock.data.data() : nullptr;
|
return _dataBlock.data.size() ? _dataBlock.data.data() : nullptr;
|
||||||
|
|||||||
@@ -301,6 +301,8 @@ public:
|
|||||||
* For example OBSERVER => Observer:Name, SITELAT => Observation:Location:Latitude
|
* For example OBSERVER => Observer:Name, SITELAT => Observation:Location:Latitude
|
||||||
*/
|
*/
|
||||||
bool addFITSKeywordAsProperty(const String &name, const String &value);
|
bool addFITSKeywordAsProperty(const String &name, const String &value);
|
||||||
|
const ByteArray& iccProfile() const;
|
||||||
|
void setIccProfile(const ByteArray &iccProfile);
|
||||||
|
|
||||||
void* imageData();
|
void* imageData();
|
||||||
const void* imageData() const;
|
const void* imageData() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user