Re: Trouble opening OSMesa Created Image
Brian Paul <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.devel,gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
On 07/12/2013 12:46 AM, Andy Li wrote: > Hello everyone, > > I have a question regarding to the OSMesa demo code. > I have installed OSMesa and trying to play around with the demo code. > I have complied the .c file and an executable file has created. > After I ran the executable file, a "Windows cursor (image/x-win-bitmap)" > type file was created, however, I could not find a way to open it. > Could anyone help me on this? According to the code in osdemo.c, the image is saved in Targa format. If you disable "#define SAVE_TARGA" it'll use PPM. -Brian