mirror of
https://github.com/lovell/sharp.git
synced 2026-02-05 22:26:20 +01:00
Ensure removeAlpha removes all alpha channels #2266
This commit is contained in:
@@ -245,12 +245,6 @@ namespace sharp {
|
||||
*/
|
||||
VImage SetProfile(VImage image, std::pair<char*, size_t> icc);
|
||||
|
||||
/*
|
||||
Does this image have an alpha channel?
|
||||
Uses colour space interpretation with number of channels to guess this.
|
||||
*/
|
||||
bool HasAlpha(VImage image);
|
||||
|
||||
/*
|
||||
Remove all EXIF-related image fields.
|
||||
*/
|
||||
@@ -381,7 +375,7 @@ namespace sharp {
|
||||
std::tuple<VImage, std::vector<double>> ApplyAlpha(VImage image, std::vector<double> colour, bool premultiply);
|
||||
|
||||
/*
|
||||
Removes alpha channel, if any.
|
||||
Removes alpha channels, if any.
|
||||
*/
|
||||
VImage RemoveAlpha(VImage image);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user