Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  7 Feb 2005 10:12:22 -0600 (CST)
From:      Kirk Strauser <kirk@strauser.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/77214: ImageMagick's "convert" program can no make TIFFs into PDFs
Message-ID:  <20050207161222.AC1F0220E0E@kanga.honeypot.net>
Resent-Message-ID: <200502071620.j17GKHEg002054@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         77214
>Category:       ports
>Synopsis:       ImageMagick's "convert" program can no make TIFFs into PDFs
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 07 16:20:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Kirk Strauser
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
The Strauser Group
>Environment:
System: FreeBSD kanga.honeypot.net 5.3-STABLE FreeBSD 5.3-STABLE #1: Tue Dec 7 10:06:26 CST 2004 root@kanga.honeypot.net:/usr/obj/usr/src/sys/KANGA i386


	
>Description:
	
As of the upgrade of graphics/ImageMagick to 6.0.x, I can no longer convert
multi-page TIFF images into valid PDFs.  ImageMagick's own "identify"
program cannot decipher them (although it will try to use infinite CPU
and memory in the attempt).
>How-To-Repeat:
	
With ImageMagick 6.0:

    $ convert -version
    Version: ImageMagick 6.0.6 11/29/04 Q16 http://www.imagemagick.org
    Copyright: Copyright (C) 1999-2004 ImageMagick Studio LLC
    
    $ gs --version
    7.07
    $ convert test.tif test.pdf
    $ identify test.pdf
    test.pdf[0] PDF 1056x1375 1056x1375+0+0 PseudoClass 256c 2.8mb 0.031u 0:01
    test.pdf[1] PDF 1056x1375 1056x1375+0+0 PseudoClass 256c 2.8mb 0.023u 0:01

With ImageMagick 6.1.x:

    $ convert -version
    Version: ImageMagick 6.1.9 01/25/05 Q16 http://www.imagemagick.org
    Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC
    
    $ gs --version
    7.07
    $ convert test.tif test.pdf
    $ file test.pdf
    test.pdf: PDF document, version 1.3
    $ identify test.pdf
    [infinite hang]

I used this sample image:

    http://web2.xrsnet.com/test.tif

ImageMagick 6.0 produced this valid PDF:

    http://web2.xrsnet.com/goodtest.pdf

ImageMagick 6.1 produced this broken PDF:

    http://web2.xrsnet.com/badtest.pdf
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050207161222.AC1F0220E0E>