mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-20 12:17:37 +03:00
13 lines
516 B
C#
13 lines
516 B
C#
using System.Threading;
|
|
|
|
namespace NAPS2.Images;
|
|
|
|
// TODO: We need to use the thumbnail when appropriate. Although we do need to consider thumbnail invalidation.
|
|
// TODO: We need to do OCR cancellation when the image is deleted or whatever.
|
|
public record PostProcessingData(IMemoryImage? Thumbnail, TransformState? ThumbnailTransformState,
|
|
BarcodeDetection BarcodeDetection, CancellationTokenSource? OcrCts)
|
|
{
|
|
public PostProcessingData() : this(null, null, BarcodeDetection.NotAttempted, null)
|
|
{
|
|
}
|
|
} |