THPDFComplexGraphicsFlattenInfo Record

Reports the outcome of flattening a page's complex graphics: status, mesh shading and complex pattern counts, chosen and reference DPI, measured perceptual error, tile and memory telemetry, output colour space and spot colourants

Declaration

THPDFComplexGraphicsFlattenInfo= record
  Status: THPDFComplexGraphicsFlattenStatus;
  MeshShadingCount: Integer;
  ComplexPatternCount: Integer;
  SelectedDPI: Integer;
  ReferenceDPI: Integer;
  MeasuredPerceptualError: Double;
  SampleCount: Int64;
  TileCount: Integer;
  PeakTilePixels: Int64;
  PeakWorkingBytes: Int64;
  OutputColorSpace: AnsiString;
  SpotColorants: THPDFAnsiStringArray;
end;

Unit

HPDFDoc

Fields

FieldPurpose
StatusTHPDFComplexGraphicsFlattenStatus outcome: nothing to flatten, flattened to calibrated RGB, flattened with spot colours preserved, or render failed
MeshShadingCountNumber of type 4-7 mesh shading resources detected on the page
ComplexPatternCountNumber of complex pattern resources detected on the page
SelectedDPIRasterisation DPI the search settled on for the flattened image
ReferenceDPIUpper DPI bound of the search (the caller-supplied MaximumDPI) used as the quality reference
MeasuredPerceptualErrorPerceptual error measured between the selected rendering and the reference; set to 100.0 when rendering failed
SampleCountNumber of sample pixels compared during the error measurement
TileCountNumber of tiles rendered during the flattening pass
PeakTilePixelsLargest single tile produced, in pixels
PeakWorkingBytesPeak working-set bytes reached while rasterising
OutputColorSpaceColour space of the written image, for example CalRGB
SpotColorantsSpot colorant names preserved on the page, reported via the page spot-colorant inspector

Usage notes

Related APIs