mono format returns blank image when compile from source
Posted: 2007-03-22T15:31:15-07:00
When installing from pre-compiled distribution it works. When compiling myself it doesn't. Other formats JPG, GIF work fine.
Same machine. Want to modify, but tested before I did.
Is there a new no-defaulted option on converting to the mono format. The converted image is a b/w JPG.
The follow test is always returns same result. All pixels are processed.
From mono.c WriteMONOImage
Same machine. Want to modify, but tested before I did.
Is there a new no-defaulted option on converting to the mono format. The converted image is a b/w JPG.
The follow test is always returns same result. All pixels are processed.
From mono.c WriteMONOImage
Code: Select all
if (image->endian == LSBEndian)
{
if (PixelIntensity(p) < (QuantumRange/2.0))
byte|=0x80;
}
else
if (PixelIntensity(p) >= (QuantumRange/2.0))
byte|=0x80;