From: Mayura <kv...@au...> - 2011-01-13 21:46:37
|
Rich Mattes-2 wrote: > > Hi, > > Glad to hear everything is working! > > The PlayerC++ StereoProxy has methods called SaveFrame, which can save > images to the PNG format (it's a bitmapped format like bmp). If png is > a suitable substitute to bmp, you can use the SaveFrame calls directly. > They will only save to .png if the image is decompressed though, so you > have to check that GetCompression is equal to PLAYER_CAMERA_COMPRESS_RAW > before calling SaveFrame. If it's not, you must first call the > appropriate Decompress method. > > If png isn't sufficient, you can try to use another image library in > your client program to save off bmp files, or you can convert the png > images to bmp after the fact. > > Rich > Hi, The save frame function saves files to the .ppm format. When i try change the code, so it affixes .png over ppm, it just says the image is corrupted when trying to open. Is there some extra code i need to add in, for it to save to png properly? Thanks -- View this message in context: http://old.nabble.com/Unable-to-read-proxy-tp30649450p30666641.html Sent from the playerstage-users mailing list archive at Nabble.com. |