Page 1 of 1

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

Posted: 2007-05-29T06:54:44-07:00
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?

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

Posted: 2007-05-29T09:09:05-07:00
by magick
We can reproduce the problem you posted and will have a patch in ImageMagick 6.3.4-5 within a few days.

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

Posted: 2007-06-04T04:01:25-07:00
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

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

Posted: 2007-06-04T06:35:09-07:00
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.