kopia lustrzana https://gitlab.com/sane-project/backends
TIFF tweaks required for pickier libtiff version under win32/cygwin
rodzic
00e0019c0c
commit
7b3e64508e
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue