Prefer use of vips_interpretation_max_alpha()

This also ensures we handle scRGB correctly, see:
e9c5a31552
This commit is contained in:
Kleis Auke Wolthuizen
2025-05-13 17:12:23 +02:00
committed by Lovell Fuller
parent 94481a967e
commit 8e17c6f518
3 changed files with 2 additions and 16 deletions

View File

@@ -357,12 +357,6 @@ namespace sharp {
*/
bool Is16Bit(VipsInterpretation const interpretation);
/*
Return the image alpha maximum. Useful for combining alpha bands. scRGB
images are 0 - 1 for image data, but the alpha is 0 - 255.
*/
double MaximumImageAlpha(VipsInterpretation const interpretation);
/*
Convert RGBA value to another colourspace
*/