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달성한 바이트 차감. options의 최소 절감 임계값과 비교합니다
DeterministicSelection보고된 모든 선택이 결정론적 비용 비교에서 나왔을 때 true

사용 참고 사항

관련 API