• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 598
  • Last Modified:


Hi, I have a silverlight application that I need to run,it runs OK. but I have image gallery web application in silverlight I can only show jpegs, though I want to show tiff instead,TIFF Group 4 type of images are output of the scanner and I need to show these images. I need a source code to convert tiff to jpeg so I can view it in my application.. do you have that type of a source code in C#?? pls i need help
1 Solution

Use the ImageFormat class is in the System.Drawing.Imaging  namespace.

A very basic example:

string strFileName = "FileName.tiff";
string strFileName = "OutFileName.jpg";

Bitmap bitmap = new Bitmap(strFileName);
bitmap.Save(oStrFileName, ImageFormat.Jpg);

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now