mirror of
https://github.com/lovell/sharp.git
synced 2026-02-06 06:36:17 +01:00
Allow non-RGB input to embed/extend onto bg with alpha #646
This commit is contained in:
@@ -199,6 +199,11 @@ namespace sharp {
|
||||
*/
|
||||
VipsInterpretation GetInterpretation(std::string const typeStr);
|
||||
|
||||
/*
|
||||
Convert RGBA value to another colourspace
|
||||
*/
|
||||
std::vector<double> GetRgbaAsColourspace(std::vector<double> const rgba, VipsInterpretation const interpretation);
|
||||
|
||||
} // namespace sharp
|
||||
|
||||
#endif // SRC_COMMON_H_
|
||||
|
||||
Reference in New Issue
Block a user