[Mesa-users] [Mesa-dev] Trouble opening OSMesa Created Image‏

Brian Paul brianp at vmware.com
Fri Jul 12 07:34:46 PDT 2013


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




More information about the mesa-users mailing list