Convert TIFF to JPEG

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
jcasique

Convert TIFF to JPEG

Post by jcasique »

Hi I'm trying to convert tiff image to jpeg but i got a Segmentation fault(coredump)

the command is:

convert -quality 60 108000007747680.tif 108000007747680.jpg

I used the tiffinfo command and this it the result

> tiffinfo 108000007747680.tif

TIFF Directory at offset 0x10
Image Width: 1416 Image Length: 640
Resolution: 200, 200 pixels/inch
Compression Scheme: CCITT Group 4
Photometric Interpretation: min-is-white
FillOrder: msb-to-lsb
Rows/Strip: 640
Planar Configuration: single image plane
Group 4 Options: (0 = 0x0)

I try to convert another image

convert -quality 60 0400053135.tif 0400053135.jpg and it works ok

the image info is:

TIFF Directory at offset 0x8
Subfile Type: multi-page document (2 = 0x2)
Image Width: 94 Image Length: 76
Resolution: 65, 65 pixels/inch
Bits/Sample: 1
Compression Scheme: None
Photometric Interpretation: min-is-white
FillOrder: msb-to-lsb
Artist: "1996-98 AccuSoft Inc., All rights reserved"
Date & Time: "2008: 1:07 11:36:32"
Software: "ImageGear Version: 7.00.015"
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 1
Rows/Strip: 76
Planar Configuration: single image plane
Page Number: 0-1

Does anybody some idea what is the problem?

Thank you.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Convert TIFF to JPEG

Post by magick »

Post a URL to your TIFF image so we can download and reproduce the problem.
jcasique

Re: Convert TIFF to JPEG

Post by jcasique »

User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Convert TIFF to JPEG

Post by magick »

We tried your image with ImageMagick 6.4.1-0, the latest release, and it converted without complaint.
jcasique

Re: Convert TIFF to JPEG

Post by jcasique »

I just intalled ImageMagick V.4.1 and convert works ok.

Thank you.
Post Reply