tif (fax) to pdf conversion (2 pages) - 6.3.4-4

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
phd2

tif (fax) to pdf conversion (2 pages) - 6.3.4-4

Post by phd2 »

We try to convert tiff images (in G3 fax format) into PDF. First page is negative, second page empty with wrong size/orientation.
The negative page applies to single page files too.

Source file:
http://nstweb.net/im/test2.tif

Command line:
convert test2.tif test2.pdf

It complains about wrong data type for "Orientation" and "Group3Options", but this used to work.

and we got this:
http://nstweb.net/im/test2.pdf

We are using version 6.3.4-4, compiled for Windows without xlib (//undef HasX11).
It did work with 6.3.1-1.

Is this a bug, or did we do a mistake?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: tif (fax) to pdf conversion (2 pages) - 6.3.4-4

Post by magick »

We can reproduce the problem you posted and will have a patch in ImageMagick 6.3.4-5 within a few days.
phd2

Re: tif (fax) to pdf conversion (2 pages) - 6.3.4-4

Post by phd2 »

magick wrote:We can reproduce the problem you posted and will have a patch in ImageMagick 6.3.4-5 within a few days.
Great.
Version 6.3.4-5 fixed this bug.
Thanks.

Some remarks (minor bugs?) about compiling under Windows, with option
#define UseInstalledMagick
and
//#undef HasX11 (in the meaning no X11 lib should be included).

Manual correction for proper compiling:
- Magick++\lib\Image.cpp
in function void Magick::Image::floodFillOpacity set correct namespace for function MatteFloodfillImage to avoid the C2065 compiler error (undeclared identifier).

Code: Select all

MagickLib::MatteFloodfillImage( image(),
- lcms\src\lcms.def
remove first line "LIBRARY LCMS.DLL", because it will then try to load "lcms.dll" instead of "CORE_RL_lcms_.DLL"

- project "analyze"
remove "CORE_RL_xlib_.DLL" from Object/Library Modules at Linking/Input in the project properties, if you want to omit x11 library
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: tif (fax) to pdf conversion (2 pages) - 6.3.4-4

Post by magick »

We put your patches in the ImageMagick 6.3.4-6 Beta (available sometime tommorrow). We have another patch pending to fix PerlMagick when loading under modperl under Windows. It will be available in just a few days.
Post Reply