u-sgreen%peruvian.utah.edu@cs.utah.edu (Scott Greenman) (03/23/91)
I am trying to write an image stored in a NXImage object to a stream, save that data in Sybase, write it back out into another stream, and read it back into an NXImage object. I am using the writeTiff: method to write the image to the stream. I have verified that the data goes into and out of Sybase okay, but then when I try to use NXImage's initFromStream: to read it back into a NXImage I get the error: TIFF Error: TIFF directory is missing required "ImageLength" field. How can I get around this? Do I need to use a typed stream and archive the entire NXImage object? I'm not very farmilliar with typed streams so I don't know if they will work. Thanks for any help. Please respond by e-mail and I will post a summary. Scott Greenman Univ of Utah