AcademySoftwareFoundation/openexr
Describe new compression method API in documentation
開放
#1,859 建立於 2024年10月2日
help wanted
倉庫指標
- 星標
- (1,812 顆星)
- PR 合併指標
- (PR 指標待抓取)
描述
Add to https://openexr.com/en/latest/ReadingAndWritingImageFiles.html#compression, source is here.
In anticipation of future support for new compression types, there is now a convenience API for mapping between compression type names and the associated enum:
getCompressionDescriptionFromId(Compression, std::string&)
getCompressionIdFromName(const std::string&, Compression&)
getCompressionNameFromId(Compression, std::string&)
getCompressionNamesString(const std::string&, std::string&)
getCompressionNumScanlines(Compression)
isValidCompression(int)