The uniform image compression scale for lossy formats.
typedef NS_ENUM(NSUInteger, RTRCoreAPIExportCompressionLevel) {
RTRCoreAPIExportCompressionLowLevel,
RTRCoreAPIExportCompressionNormalLevel,
RTRCoreAPIExportCompressionHighLevel,
RTRCoreAPIExportCompressionExtraHighLevel,
};
Constants
Name |
Description |
RTRCoreAPIExportCompressionLowLevel |
The lowest compression rate, that still might have any noticeable effect on recognition of small text. |
RTRCoreAPIExportCompressionNormalLevel |
[Default] Balanced trade-off between compression and quality. Good safety margin. |
RTRCoreAPIExportCompressionHighLevel |
More compression, less safety margin. Might perform poorly with small text, but generally still ok. |
RTRCoreAPIExportCompressionExtraHighLevel |
The maximum recommended compression rate. Will perform poorly with small text. Advisable only for relatively large text and very slow networks. |