UH2@psuvm.psu.edu (Lee Sailer) (05/09/91)
Does the SDK inlcude functions to read and write this format? Does any other library? I have a reader/writer for the BW format, but would like to avoid reinventing the entire wheel... lee
bonneau@hyper.hyper.com (Paul Bonneau) (05/10/91)
In article <91128.162807UH2@psuvm.psu.edu> UH2@psuvm.psu.edu (Lee Sailer) writes: >Does the SDK inlcude functions to read and write this format? >Does any other library? I have a reader/writer for the BW format, >but would like to avoid reinventing the entire wheel... > > lee > While there is no API for reading and writing a DIB, there is sample code supplied with the SDK for doing so. Look at the "showdib" under "samples". Be warned though, the code as it is rather buggy. I can't remember offhand where I found bugs, but it had something to do with the data in the DIB headers... cheers - Paul Bonneau.