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
image.Write(sImageConvertedFilePath)
End Using
Any ideas?
Convert JPEG to TIFF 6.0 spec
-
- Posts: 2
- Joined: 2019-02-21T08:14:03-07:00
- Authentication code: 1152
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Convert JPEG to TIFF 6.0 spec
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?
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?
-
- Posts: 2
- Joined: 2019-02-21T08:14:03-07:00
- Authentication code: 1152
Re: Convert JPEG to TIFF 6.0 spec
Technote 2 is not accepted in what I'm using unfortunately.
Re: Convert JPEG to TIFF 6.0 spec
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 https://manpages.debian.org/stretch/lib ... .1.en.html or https://github.com/BitMiracle/libtiff.net/issues/21
Both libtiff and LibTiff.NET does not support OJPG for writing.
See https://manpages.debian.org/stretch/lib ... .1.en.html or https://github.com/BitMiracle/libtiff.net/issues/21