Question

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

enter image description here

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?

Was it helpful?

Solution

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.

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top