Developing a JPG to TIFF conversion module for your .NET based application is just a few lines of source code away. You may install this .NET imaging library to manipulate, process, and convert JPG images to other popular image file formats programmatically. In this blog post, you will go through how to convert JGP to TIFF in C# with the least time and effort. Therefore, please set up .NET on your local machine before starting this guide.
The following points will be covered:
JPG to TIFF conversion library installation
Converting an image to another image format using this .NET imaging library gives your business app a competitive edge. So, you can download the DLL or install this library by running the following command in the NuGet package manager.
How to Convert JPG to TIFF in C#
Now, we can write the code snippet to perform JPG to TIFF conversion programmatically.
Following are the steps to convert JPG to TIFF in C# language:
- Load an existing image (of type JPEG) in an instance of the Image class.
- Create an object of PngOptions class.
- Invoke the Save method, pass PngOptions as an argument and save the resultant image in TIFF format.
Copy & paste the following code into your main file:
The output can be seen in the image below:
Get a Free License
You can avail a free temporary license to try the API without evaluation limitations.
This brings us to the end of this article. However, you have learned how to convert JPG to TIFF in C# by writing a few lines of source code. This blog post will really help you in building a JPG to TIFF conversion module programmatically. Moreover, you may visit the documentation to know other features.
Moreover, we suggest you follow our Getting Started guide.
Finally, conholdate.com is writing new blog posts. So, please stay in touch for regular updates.
Ask a question
You can let us know about your questions or queries on our forum.
How do I convert a JPEG to a TIFF for free?