Add method to for ICC profile

This commit is contained in:
2023-05-24 16:27:28 +02:00
parent a536a271ab
commit 0893bfa048
3 changed files with 13 additions and 1 deletions
+10
View File
@@ -358,6 +358,16 @@ bool Image::addFITSKeywordAsProperty(const String &name, const String &value)
return false;
}
const ByteArray &Image::iccProfile() const
{
return _iccProfile;
}
void Image::setIccProfile(const ByteArray &iccProfile)
{
_iccProfile = iccProfile;
}
void *Image::imageData()
{
return _dataBlock.data.size() ? _dataBlock.data.data() : nullptr;