AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
March 1997

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



1997.03.18 16:23 "dump_mode.c fix", by Dwight Kelly

I believe that the following change is required for writing
planar_separate files using code like this: 

for (c=0; c<ncolors; c++) {
	TIFFWriteScanline(tif, buf+(offset*c), row, c);
}

Dwight Kelly
Essential Technical Services, Inc.  
315 Allen Street Cumming, GA 30130
voice:(770) 889-2848  fax:(770) 889-2624 Internet:dkelly@etsinc.com
http://www.etsinc.com


$ diff -c tif_dumpmode.c /tmp 
*** tif_dumpmode.c      Thu Feb 20 21:11:27 1997 
--- /tmp/tif_dumpmode.c Tue Mar 18 10:54:08 1997 
*************** 
*** 92,98 **** 
  DumpModeSeek(TIFF* tif, uint32 nrows) 
  { 
        tif->tif_rawcp += nrows * tif->tif_scanlinesize; 
!       tif->tif_rawcc -= nrows * tif->tif_scanlinesize; 
        return (1); 
  } 
   
--- 92,98 ---- 
  DumpModeSeek(TIFF* tif, uint32 nrows) 
  { 
        tif->tif_rawcp += nrows * tif->tif_scanlinesize; 
!       tif->tif_rawcc += nrows * tif->tif_scanlinesize; 
        return (1); 
  }