From 3e017fc24dfda24719d2c8991e3f624642119ef7 Mon Sep 17 00:00:00 2001 From: Ben Olden-Cooligan Date: Wed, 29 Jan 2020 14:02:57 -0500 Subject: [PATCH] Add todos --- NAPS2.Sdk/Images/Storage/GdiConverters.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/NAPS2.Sdk/Images/Storage/GdiConverters.cs b/NAPS2.Sdk/Images/Storage/GdiConverters.cs index 4a3b20b9c..5552edc54 100644 --- a/NAPS2.Sdk/Images/Storage/GdiConverters.cs +++ b/NAPS2.Sdk/Images/Storage/GdiConverters.cs @@ -15,7 +15,11 @@ namespace NAPS2.Images.Storage { this.imageContext = imageContext; } - + + // TODO: I've gotten rid of most of the craziness. What remains is file/stream -> image and image -> file/stream. + // TODO: So it probably makes more sense to get rid of the "converters" and use imagecontext/iimage methods instead. + // TODO: That also might make lifetime easier to reason about. + [StorageConverter] public FileStorage ConvertToFile(GdiImage input, StorageConvertParams convertParams) {