mirror of
https://github.com/lovell/sharp.git
synced 2026-02-05 06:06:18 +01:00
Add withGainMap to process HDR JPEGs with embedded gain map #4314
This commit is contained in:
11
src/common.h
11
src/common.h
@@ -173,6 +173,7 @@ namespace sharp {
|
||||
JXL,
|
||||
RAD,
|
||||
DCRAW,
|
||||
UHDR,
|
||||
VIPS,
|
||||
RAW,
|
||||
UNKNOWN,
|
||||
@@ -397,6 +398,16 @@ namespace sharp {
|
||||
*/
|
||||
VImage StaySequential(VImage image, bool condition = true);
|
||||
|
||||
/*
|
||||
Does this image have a gain map?
|
||||
*/
|
||||
bool HasGainMap(VImage image);
|
||||
|
||||
/*
|
||||
Removes gain map, if any.
|
||||
*/
|
||||
VImage RemoveGainMap(VImage image);
|
||||
|
||||
} // namespace sharp
|
||||
|
||||
#endif // SRC_COMMON_H_
|
||||
|
||||
Reference in New Issue
Block a user