logo       

Fax compression in 6.0.8-3: msg#00001

video.image-magick.bugs

Subject: Fax compression in 6.0.8-3

I'm trying to convert a couple formats to TIFF for faxing using ImageMagick 6.0.8-3, and I can't seem to specify any compression types. For example:

$ convert -compress Fax -density 200x200 pdf:test.pdf tiff:test.tiff
$ identify -verbose test.tiff
Image: test.tiff
Format: TIFF (Tagged Image File Format)
Geometry: 1700x2200
Class: DirectClass
Colorspace: RGB
Type: Palette
Depth: 8 bits
Endianess: MSB
[...]
Rendering-intent: Undefined
Resolution: 200x200
Units: Undefined
Filesize: 10.7mb
Interlace: None
Background Color: white
Border Color: #DFDFDF
Matte Color: grey74
Dispose: Undefined
Iterations: 0
Compression: None
Orientation: TopLeft
Software: ImageMagick 6.0.8 10/01/04 Q16 http://www.imagemagick.org
Document: test.tiff
Comment: Image generated by GPL Ghostscript (device=pnmraw)


The same command used to work in 5.5.x. This is the first 6.0.x release I've tested. I found a possibly-related issue described here:

http://studio.imagemagick.org/magick/viewtopic.php?t=2314

No luck with either PerlMagick or the convert binary.

Also having a separate PerlMagick order of operations problem with density settings. The following code properly sets density in the output:

my $img = Image::Magick->new();
$img->Set(density => '200x200');
$img->BlobToImage($pdf);
$img->Write('tiff:testpl.tiff');

Setting the density anywhere after the BlobToImage call does nothing. This issue (or similar) was mentioned here:

http://studio.imagemagick.org/pipermail/magick-bugs/2004-August/001827.html

Any help on either point is appreciated; are these the same bugs?

-Rob


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise