PeachImage
PeachImage.Formats.Jxl.JxlEncoderOptions
JxlEncoderOptions.Effort Property
How hard lossy encoding looks for a smaller file, 1 (fastest) to 9 (slowest). Efforts 1 to 3 use 8x8 blocks only, 4 to 6 also try 16x16 and 16x8/8x16 blocks, and 7 to 9 add 32x32 and the 32-wide rectangles. Defaults to 5. Has no effect on lossless encoding.
public int Effort { get; init; }