Click here to Skip to main content
15,867,488 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a image with .tiff format in older version.Now i want to convert that image in Newer Version.

What I have tried:

I have searched on google but all are giving conversion from tiff to pdf or jpeg format or vice versa. But I need conversion from tiff to tiff but with a newer version.
Posted
Updated 29-Oct-18 22:44pm
Comments
Mehdi Gholam 30-Oct-18 4:29am    
Why?
Sarita B Patil 31-Oct-18 1:04am    
Because there is a problem in viewing image.

1 solution

This depend son what you want to do: manually via an app, or programatically - the two are different.
Via an app:
Open it in your new, shiny image editing program (or Paint, if that's what you have available)
Use "Save as" (often hotkeyed to F12) and select TIFF as the output format.
Give it a new name and save it.
Programatically:
Depend on the language exactly how to do it, but it's the same process: read it, and save it as a new file. For C#:
C#
using (Image im = Image.FromFile(@"D:\Test Data\Old-style-jpeg-compression.tif"))
   {
   im.Save(@"D:\Test Data\New-style-jpeg-compresion.tif", ImageFormat.Tiff);
   }
 
Share this answer
 
Comments
Sarita B Patil 31-Oct-18 1:00am    
I want the code in the console application or web application using c#.
OriginalGriff 31-Oct-18 5:42am    
Pray tell, what do you think the code I have given you is?
Sarita B Patil 2-Nov-18 1:17am    
When I am converting image via the app, it gets uploaded in my another application. But when I am converting programmatically, it didn't get upload.
Can we find the version of tiff image file?
OriginalGriff 2-Nov-18 4:09am    
How would I know? I don't have any access to your code, even less while it's running!
:laugh:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900