nanogui: Thread: Display images


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Display images
From: "sally" ####@####.####
Date: 23 Oct 2006 09:56:10 +0100
Message-Id: <000e01c6f681$123512c0$9691598f@dmsf3dd032a8bb>

Dear all,

        When I use GrDrawImageFromFile() function to load *.bmp or *.png 
files, the images are shown ok.
However, there're always waring messages say "a.bmp: Not a TIFF file, back 
magic number 19778(0x4d42)".
How to avoid the warning msg?

best wishes,
Sally


Subject: Re: [nanogui] Display images
From: "Greg Haerr" ####@####.####
Date: 26 Oct 2006 18:46:39 +0100
Message-Id: <068301c6f926$adf36200$2f01a8c0@HaydenLake>

:        When I use GrDrawImageFromFile() function to load *.bmp or *.png
: files, the images are shown ok.
: However, there're always waring messages say "a.bmp: Not a TIFF file, back
: magic number 19778(0x4d42)".
: How to avoid the warning msg?

Remove support for TIFF files from your config file.  This
non-helpful message is spit out by the tiff decoder library.

Regards,

Greg

Subject: Re: [nanogui] Display images
From: "sally" ####@####.####
Date: 27 Oct 2006 04:50:31 +0100
Message-Id: <000701c6f97a$df1e0250$9691598f@dmsf3dd032a8bb>

Thanks. It's ok now.

There's another similar problem: using GrCreateFont function,  the text is 
shown ok.
However, it gives warining msg: "fnt_createfont: 
/usr/share/fonts/truetype/ttf/Arial.ttf, 24 not found".
How to avoid this warning msg?

best wishes,
Sally

----- Original Message ----- 
From: "Greg Haerr" ####@####.####
To: "sally" ####@####.#### ####@####.####
Sent: Friday, October 27, 2006 1:46 AM
Subject: Re: [nanogui] Display images


>:        When I use GrDrawImageFromFile() function to load *.bmp or *.png
> : files, the images are shown ok.
> : However, there're always waring messages say "a.bmp: Not a TIFF file, 
> back
> : magic number 19778(0x4d42)".
> : How to avoid the warning msg?
>
> Remove support for TIFF files from your config file.  This
> non-helpful message is spit out by the tiff decoder library.
>
> Regards,
>
> Greg
> 

Subject: Re: [nanogui] Display images
From: "Greg Haerr" ####@####.####
Date: 28 Oct 2006 02:23:17 +0100
Message-Id: <08ac01c6fa2f$a09983a0$2f01a8c0@HaydenLake>

: However, it gives warining msg: "fnt_createfont: 
: /usr/share/fonts/truetype/ttf/Arial.ttf, 24 not found".
: How to avoid this warning msg?

See the "fnt_..."?  That means the FNT driver
provided the message.  Turn off FNT fonts in
your config file.

Regards,

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


Powered by ezmlm-browse 0.20.