nanogui: loading images from memory
Subject:
RE: [nanogui] loading images from memory
From:
Peter Kerr ####@####.####
Date:
2 Jan 2002 18:07:49 -0000
Message-Id: <E431D83CC68B384AA06257848A5D6DAA02DFAF@Z_MAIL.zeacomus.com>
Is this not achieved with GrLoadImageFromFile?
Peter Kerr
-----Original Message-----
From: David Erickson ####@####.####
Sent: Wednesday, January 02, 2002 10:08 AM
To: ####@####.####
Subject: [nanogui] loading images from memory
Is there any plan to support loading images from memory instead of just
disk?
I see in the jpeg and png code the file pointer is being passed to the
library calls.
How about using fmemopen() in something like:
GdLoadImageFromMemory(PSD psd, const char *mem, int len, int flags)
I've never used fmemopen, and I have no man page for it, but I saw it in my
/usr/include/stdio.h file. Is it standard?
--
David Erickson
Senior Staff Software Engineer
Broadcom Corporation
949-585-5875
---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####