TIFF tweaks required for pickier libtiff version under win32/cygwin

merge-requests/1/head
Jon Chambers 2006-08-21 21:12:08 +00:00
rodzic 00e0019c0c
commit 7b3e64508e
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -1,4 +1,5 @@
2006-08-12 Jon Chambers <jon@jon.demon.co.uk>
2006-08-21 Jon Chambers <jon@jon.demon.co.uk>
* TIFF tweaks for pickier libtiff under cygwin
* backend/Makefile.in: remove explicit $(srcdir) path from .conf
source paths to allow support for kdevelop-style build dirs.
* backend/dell1600n_net.c: fix compile warnings

Wyświetl plik

@ -1901,6 +1901,7 @@ ProcessPageData (struct ScannerState *pState)
TIFFSetField (pTiff, TIFFTAG_BITSPERSAMPLE, 1);
TIFFSetField (pTiff, TIFFTAG_PHOTOMETRIC, 0); /* 0 is white */
TIFFSetField (pTiff, TIFFTAG_COMPRESSION, 4); /* CCITT Group 4 */
TIFFSetField (pTiff, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG);
TIFFWriteRawStrip (pTiff, 0, pState->m_buf.m_pBuf,
pState->m_buf.m_used);