How to C#: Imaging
Using Imaging SDK for C#.NET
Winforms Controls
Image Load
Image Access and Modify
Convert to PNG
Convert to PNG
  |  
Home ›› XImage.Raster ›› C# Raster: Convert to PNG

C# Raster - Convert Image to PNG in C#.NET


Online C# Guide for Converting Image to PNG in .NET Application



create thumbnail from pdf c#, add image to pdf itextsharp vb.net, how to add page numbers in pdf using itextsharp c#, tesseract ocr pdf to text c#, create pdf report from database in asp.net using c# and vb.net, c# merge multi page tiff.

Related .net document control helps:
asp.net image viewer: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
asp.net dicom document viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
asp.net document viewer: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
asp.net edit pdf text: ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET
asp.net mvc pdf editor: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
asp.net pdf viewer: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net document viewer c#: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...


Install XImage.Raster in C# Project



Add necessary references to your C#.NET project. Right-click the project and select "Add Reference..." to locate and add the following DLLs as project references; add image to pdf using itextsharp vb.net, c# pdf highlight text, c# extract pdf page as image, how to add header in pdf using itextsharp in c#, c# convert tiff to pdf free library, c# get pdf font, c# draw pdf.


  RasterEdge.Imaging.Basic.dll


  RasterEdge.XImage.Raster.Core.dll


  RasterEdge.XImage.Raster.dll


Use corresponding namespaces;


  using RasterEdge.XImage.Raster;


Note: When you get the error "Could not load file or assembly 'RasterEdge.Imaging.Basic' or any other assembly or one of its dependencies. An attempt to load a program with an incorrect format", please check your configure as follows:

       

       If you are using x64 libraries/dlls, Right click the project -> Properties -> Build -> Platform target: x64.

       

       If using x86, the platform target should be x86.




Convert RasterImage to PNG



Sample Code (convert single frame image to PNG):




ConvertHandler.Convert("input.jpeg", @"output.png");




Sample Code (convert multi-frame image to JPEG):




RasterImage img = new RasterImage("input.tiff");
img.Save(@"output.png");