Page 1 of 1

Convert JPEG to TIFF 6.0 spec

Posted: 2019-02-21T08:19:41-07:00
by alwaysvbnet
Hello all,

I would like to convert an image to TIFF with compression: JPEG Original TIFF 6.0 spec.
Can this be done via this tool? I have tried the code below but the result is 'JPEG Technote #2'.

Using image As New MagickImage(File.ReadAllBytes(oImage.FilePath))
image.Settings.Compression = CompressionMethod.JPEG
End Using

Any ideas?

Re: Convert JPEG to TIFF 6.0 spec

Posted: 2019-02-21T09:37:02-07:00
by fmw42
ImageMagick relies upon libtiff to read and create tiff files. If libtiff does not support it, then ImageMagick will not. So check with the libtiff forums or documentation.

I cannot say for sure, but ImageMagick has had trouble dealing with old style JPG compressed tiff files. So my guess is that libtiff does not support that. But I am not a libtiff expert.

What does JPEG technote 2 say?

Re: Convert JPEG to TIFF 6.0 spec

Posted: 2019-02-21T09:39:59-07:00
by alwaysvbnet
Technote 2 is not accepted in what I'm using unfortunately.

Re: Convert JPEG to TIFF 6.0 spec

Posted: 2019-02-25T18:36:48-07:00
by 246246
ImageMagick does not have compress option for old jpeg, neither in Magick.NET.
Both libtiff and LibTiff.NET does not support OJPG for writing.
See ... .1.en.html or