cancel
Showing results for 
Search instead for 
Did you mean: 

Convert tiff to jpg

alex_lu
Champ in-the-making
Champ in-the-making
Hello everyone,

I would like to transform tiff images to jpg format. My client has given a copy of javascript they have done. It basically only does -resize and change the file extension name to jpg. The problem I've got is file size of the transform images. The file size of them are around 500 - 700k, which is too large. If I use photoshop, they come out around 20k. I've been trying -resample, -scale, -quality 50, and -depth 8. None of this seem to reduce the file size.

Could anyone help, please? Many thanks in advance
1 REPLY 1

christopheradam
Champ in-the-making
Champ in-the-making
I can offer you some free methods for <a href="http://www.rasteredge.com/how-to/vb-net-imaging/tiff-convert-jpeg/">tiff to jpeg conversion</a> within vb.net project, check out following apis and the whole online guide:

Private Function GetPage(pageIdx As Integer) As BasePage Implements TIFFDocument.GetPage
End Function
Private Function toImage() As BaseImage Implements TIFFPage.toImage
End Function
Private Function toImage(width As Integer, height As Integer) As BaseImage Implements TIFFPage.toImage
End Function
Private Sub New(imagesource As List(Of REImage))
End Sub
Private Sub Convert(s As Stream, format As ImageFormat) Implements REImage.Convert
End Sub