THPDFImageRecompressionCostInfo Record

視覺成本影像重新壓縮處理的遙測資料:掃描與候選計數、各編碼器的結果、嘗試與拒絕計數器、品質與誤差彙總,以及位元組節省

宣告

THPDFImageRecompressionCostInfo= record
  ScannedImageCount: Integer;
  CandidateImageCount: Integer;
  RecompressedImageCount: Integer;
  RecompressedJPEGCount: Integer;
  RecompressedJPEG2000Count: Integer;
  EncodingTrialCount: Integer;
  VisualErrorRejectionCount: Integer;
  ByteCostRejectionCount: Integer;
  SelectedQualitySum: Integer;
  MaximumSelectedPerceptualError: Double;
  BytesBefore: Int64;
  BytesAfter: Int64;
  BytesSaved: Int64;
  DeterministicSelection: boolean;
end;

單元

HPDFDoc

欄位

欄位用途
ScannedImageCount此處理檢查過的影像數
CandidateImageCount通過資格檢查後進入品質搜尋的影像數
RecompressedImageCount實際重新編碼並寫回的影像數
RecompressedJPEGCount最終濾器為 JPEG 的重新編碼影像數
RecompressedJPEG2000Count最終濾器為 JPEG 2000 的重新編碼影像數
EncodingTrialCount掃描品質範圍時執行的試驗編碼次數
VisualErrorRejectionCount因感知誤差超出預算而遭拒的試驗次數
ByteCostRejectionCount因位元組成本權重在評分中佔上風而遭拒的試驗次數
SelectedQualitySum每張重新壓縮影像所選品質的總和,用於計算平均值
MaximumSelectedPerceptualError獲接受的重新壓縮中最高的感知誤差
BytesBefore / BytesAfter處理前後的影像串流位元組數
BytesSaved達成的位元組差額;與選項的最小節省門檻比較
DeterministicSelection所有回報的選擇都出自確定性成本比較時為 true

使用說明

相關 API