nanogui: Thread: Problems with image diaplying


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Problems with image diaplying
From: "pratish ganguly" ####@####.####
Date: 25 Sep 2006 11:02:12 +0100
Message-Id: <fa595afb0609250302w62268fc7r56737ccd94ca1d9c@mail.gmail.com>

Dear all,
I am facing a few problems in Microwindows using nano-X APIs.
I am trying to display a set of images using nano-X APIs.
I have tried the same using the following APIs :
                       GrDrawImageFromFile()
                       GrLoadImageFromFile()
                       GrDrawImageToFit()
The program compiles without any error or warning.
But when I run the object file on the nano-X server , just a blank screen
pops up with no image to be seen anywhere on the entire screen.
Am I missing something here?
Please show me some pointers to solve this problem so that I can display the
image properly on the screen.

Also can you show me to some pointers so that I can include video playback
into nano-X applications?

Thanks and regards.

Pratish Ganguly
Subject: Re: [nanogui] Problems with image diaplying
From: "Greg Haerr" ####@####.####
Date: 28 Sep 2006 16:12:45 +0100
Message-Id: <0af201c6e310$8b8ca4f0$2f01a8c0@HaydenLake>

: I have tried the same using the following APIs :
:                       GrDrawImageFromFile()
:                       GrLoadImageFromFile()
:                       GrDrawImageToFit()
: The program compiles without any error or warning.
: But when I run the object file on the nano-X server , just a blank screen
: pops up with no image to be seen anywhere on the entire screen.

Look at the source code for nxview.sh, src/demos/nanox/nxview.c
for examples on image display.

: Also can you show me to some pointers so that I can include video playback
: into nano-X applications?

I ported the dvdview application to nano-X, available at
www.pixil.org source tree, and I think on the ftp site.

Regards,

Greg

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.