Class ImageResult
- Namespace
- SoftZenPdf.Optimizer
- Assembly
- SoftZenPdf.Optimizer.dll
What an image processor did with one image, and its size before and after.
public sealed record ImageResult : IEquatable<ImageResult>
- Inheritance
-
ImageResult
- Implements
- Inherited Members
Constructors
- ImageResult(string, int, int, string, string, long, long, ImageOutcome, string?)
What an image processor did with one image, and its size before and after.
Properties
- Format
How the image was stored, for example
DCTDecode,FlateDecodeorNone.
- Handler
The handler that looked at the image.
- Height
The image's height in pixels.
- OptimizedBytes
The space it takes now, in bytes; the same as
OriginalBytesunlessOutcomeis Optimized.
- OptimizedFormat
How the image is stored now; differs from
Formatwhen it was converted, for example fromFlateDecodetoDCTDecode.
- OriginalBytes
The space the image took in the file before (data and dictionary), in bytes.
- Outcome
What happened.
- Reason
What was done, or why an image was skipped, kept or failed.
- Width
The image's width in pixels.