HP-UX
I am attempting to use the convert utility to convert a multi-page b&w group4 tiff => pdf. This problem also occurs with a single page tiff.
I run from the command line...
convert convert_bw.tif convert_bw.tif.pdf
20120518: unable to open file `': No such file or directory @ error/tiff.c/WriteGROUP4Image/2040.
I am able to successfully convert a multipage color lzw tiff => pdf.
I am also able to successfully convert a multipage tiff that includes a combination of lzw & group4 images => pdf.
Is this a bug or an ImageMagick config problem?
Please help!
Thanks,
cgeen
convert failing on group4 tiff => pdf
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: convert failing on group4 tiff => pdf
Post a link to one of your tiff files that fails.
Re: convert failing on group4 tiff => pdf
https://cisweb.courts.state.va.us/CisSt ... group4.tif
This is a multi-page Group4 tiff created with ImageMan by Data Techniques, Inc.
Thanks,
cgeen
This is a multi-page Group4 tiff created with ImageMan by Data Techniques, Inc.
Thanks,
cgeen
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: convert failing on group4 tiff => pdf
What version of IM are you using? IM has been undergoing some changes regarding sRGB that affect grayscale as well as bilevel images, since 6.7.5.5. On the current IM 6.7.6.10 Q16 (hdri), I am getting multiple page pdfs, but they are all totally white. But if I use IM 6.7.4.10, I get a result that is just fine.
A work around is
convert convert_group4.tif GIF:- | convert - convert_group4.pdf
However, this fails and is totally white also
convert convert_group4.tif MIFF:- | convert - convert_group4.pdf
Try upgrading your image to another version before 6.7.5.5. In the meantime, I will report this issue as bug in the current 6.7.6.10.
A work around is
convert convert_group4.tif GIF:- | convert - convert_group4.pdf
However, this fails and is totally white also
convert convert_group4.tif MIFF:- | convert - convert_group4.pdf
Try upgrading your image to another version before 6.7.5.5. In the meantime, I will report this issue as bug in the current 6.7.6.10.
Last edited by fmw42 on 2012-05-18T15:41:16-07:00, edited 1 time in total.
Re: convert failing on group4 tiff => pdf
Thank you. The workaround does work, although appears to take a bit longer.
I'm actually using version 6.7.4 downloaded from...
http://hpux.connect.org.uk/hppd/cgi-bin ... rch=Search
Do you suggest ImageMagick-6.7.4-10.tar.gz?
Thanks again for your prompt reply!
cgeen
I'm actually using version 6.7.4 downloaded from...
http://hpux.connect.org.uk/hppd/cgi-bin ... rch=Search
Do you suggest ImageMagick-6.7.4-10.tar.gz?
Thanks again for your prompt reply!
cgeen
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: convert failing on group4 tiff => pdf
cgeen wrote:Thank you. The workaround does work, although appears to take a bit longer.
I'm actually using version 6.7.4 downloaded from...
http://hpux.connect.org.uk/hppd/cgi-bin ... rch=Search
Do you suggest ImageMagick-6.7.4-10.tar.gz?
Thanks again for your prompt reply!
cgeen
I don't think it should matter much. There could be a few bugs fixed (or something broken) between those two versions. So it is hard to say. The last minor version .10 typically is always archived. So it is easy to get from IM or SourceForge. But you may need some special compiled version for your platform. So I would just stick with what you have unless something else breaks.
But with the old 6.7.4.x version you don't need the work around. It should convert image.tiff image.pdf just fine. The workaround was for the more current versions of IM until all the bugs are worked out for the sRGB vs RGB switch.
Re: convert failing on group4 tiff => pdf
We can reproduce the problem you reported and have a patch. Look for it in the 6.7.7-0 release within a few days. Thanks.
Re: convert failing on group4 tiff => pdf
Thank you.
Is there a 6.7.7-0 binary available now for HP-UX? If so, can you tell me the title of the tar.gz file that I need?
I'm looking at http://www.imagemagick.org/script/binar ... 2l9f4#unix
Is there a 6.7.7-0 binary available now for HP-UX? If so, can you tell me the title of the tar.gz file that I need?
I'm looking at http://www.imagemagick.org/script/binar ... 2l9f4#unix
-
- Posts: 5
- Joined: 2016-11-02T09:06:34-07:00
- Authentication code: 1151
Re: convert failing on group4 tiff => pdf
I had the same problem with 6.5.9 then I decided to upgrade to 7.0 but with this version it seems impossible to get delegates for png.
Then I've downgraded to 6.8.8-9. png delegates are on, but it seems that the error while trying to convert a tiffg4 to pdf still exists.
convert cancellare.tif cancellare.pdf
error/tiff.c/WriteGROUP4Image/2204
note that and older gm (GraphicsMagick 1.3.12) converts fine
gm convert cancellare.tif cancellare.pdf
$
Thanks for support.
Giuseppe.
Then I've downgraded to 6.8.8-9. png delegates are on, but it seems that the error while trying to convert a tiffg4 to pdf still exists.
convert cancellare.tif cancellare.pdf
error/tiff.c/WriteGROUP4Image/2204
note that and older gm (GraphicsMagick 1.3.12) converts fine
gm convert cancellare.tif cancellare.pdf
$
Thanks for support.
Giuseppe.