THotPDF.OptimizeLoadedJPEG2000Images Method
使用无损或视觉无损配置,通过 OpenJPEG 重新编码 JPX 图像,可选启用 tile,并指定 progression order
声明
function OptimizeLoadedJPEG2000Images(
Profile: THPDFJPEG2000OptimizationProfile;
Quality, TileWidth, TileHeight: Integer;
Progression: THPDFJPEG2000Progression;
MinimumSavingsBytes: Int64;
out AInfo: THPDFLoadedResourceOptimizationInfo): Integer;
Capability control
j2opDisabled 不做任何事,因此调用方必须显式启用无损或视觉无损编码
可转换的校准输入会保留显式的校准 RGB 输出定义;Lab、非 RGB 的 ICCBased、Separation 和 DeviceN 图像则会被跳过,而不是转换为过程 RGB