After reading Using LibTiff from C# (to access tiled TIFF images) I decided to try to use .Net built in framework class TiffBitmapDecoder
to generate the pdf from tiled TIFF image.
I got a big TIFF image around 4MB, which has tiles. I used iTextSharp before but it is not supporting tiles error.
But how do I add the PresentationCore.dll
assembly in my web project reference?
I could not able to see in Add Reference dialog
. I use .Net 4.0 ASP.Net webform project
It shows only System.Windows.Presentation
Also do any one processed tiled TIFF to pdf with .Net built in Framework classes with out using 3rd party libraries like LibTIFF?
PresentationCore
is a part of WPF, which is a .NET Framework built-in feature. You should be able to add it easily for both MVC and classic ASP.NET for .NET Framework v3.5 or later.
Please note that the assembly name used by PresentationCore.dll
is plain PresentationCore
. It does not have any prefixes (e.g. System.PresentationCore, Microsoft.PresentationCore). Perhaps this is the reason you're having trouble finding it on the Framework Assemblies list.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With