I'm looking for a way of creating a multi-page TIFF image in NET 6 (console app). I still have an option to switch back to NET 4.8, but I would try to avoid it.
Is there any way to use BitmapSource, TiffBitmapEncoder, etc from the NET 6 console app?
I'm looking for a way of creating a multi-page TIFF image in NET 6 (console app). I still have an option to switch back to NET 4.8, but I would try to avoid it.
Is there any way to use BitmapSource, TiffBitmapEncoder, etc from the NET 6 console app?
Copyright © 2021 Jogjafile Inc.
The ImageSharp library has a TiffEncoder, that should probably suit your needs.
If you can't use or don't want to use this external library, for some reason, you could pick the relevant parts from the source code available (see link to the TIFF file given above), that may need some work, though.
Otherwise, you can at least try to isolate the problem of using .NET Framework 4.8 by creating a .NET standard solution, so you can still have some code using .NET 6.