Generating TiffG3 aka TIFF/F

I tried generating a tiffg3 to push it through capifax and at first nothing worked.
This was my first solution (using ImageMagick, which uses GhostScript):

convert -density 204x98 -resize 1728x1186 \
-compress fax -monochrome -negate <in.pdf> <out.tiff>

Problem: the output is ugly (improvements welcome)
The second solution (using GhostScript-only) works a lot better:

gs -q -dNOPAUSE -dSAFER -dPARANOIDSAFER -dBATCH \
-sDEVICE='tiffg3' -sPAPERSIZE='a4' -r'204x169' \
-sOutputFile=<out.tiff> <in.pdf>

My favorite solution would be python only, … dream dream dream …

This entry was posted in MacOSx, linux, windows. Bookmark the permalink.

2 Responses to Generating TiffG3 aka TIFF/F

  1. gczychi says:

    Hi,

    I’m trying the same thing, I need to convert to TIFF-F for my Brother printer in order to send faxes from the network.

    For me, the ImageMagick command doesn’t work, it doesn’t seem to generate a valid G3TIFF file. I have looked and found another proposal on the net:

    convert image.png -monochrome -compress fax image.tif
    (http://cafe.imagemagick.org/index.php/question/can-imagemagick-create-tiff-f-files)

    But this also doesn’t work. Any ideas how this can work with ImageMagick?

    Thanks a lot for your help,

    Gary

  2. A7P says:

    Hi Gary,

    I’ll work at this again soon (may be tomorrow) – you’ll get mail from me and I will update this posting if I find out anything new.

    Chao ;)

Leave a Reply