mirror of
https://github.com/lovell/sharp.git
synced 2026-02-05 14:16:17 +01:00
Ensure embedded profile, if any, is always used
Perform sRGB conversion at end of pipe only withMetadata exports profile, should not convert Convert one fixture to sRGB to help test Discovered while investigating #125
This commit is contained in:
@@ -44,6 +44,11 @@ namespace sharp {
|
||||
*/
|
||||
VipsImage* InitImage(ImageType imageType, char const *file, VipsAccess const access);
|
||||
|
||||
/*
|
||||
Does this image have an embedded profile?
|
||||
*/
|
||||
bool HasProfile(VipsImage *image);
|
||||
|
||||
/*
|
||||
Does this image have an alpha channel?
|
||||
Uses colour space interpretation with number of channels to guess this.
|
||||
|
||||
Reference in New Issue
Block a user