unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* image descriptors and defimage with :data
@ 2002-02-08  3:50 Nic Ferrier
  2002-02-08 20:26 ` Pavel Janík
  2002-02-10  5:18 ` Richard Stallman
  0 siblings, 2 replies; 5+ messages in thread
From: Nic Ferrier @ 2002-02-08  3:50 UTC (permalink / raw)


I'm building an image from a part returned by an IMAP server.

Instead of saving the part to a file and opening it that way I
thought it would be fun to have no file caching and just open the
image directly from the imap server.

My code gets the part from the imap server as a string and then
constructs an image descriptor for it.

It then uses insert-image to get it into a buffer.

But the image doesn't get displayed. 


Emacs 21 manual says that defimage must have at least the following
properties in the props list:

  :type
  :file

But I don't want to specify the image as a file. Can (defimage ...)
cope with something like the following?

      (defimage content-image
	((:type jpeg :data content)))


Nic Ferrier

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-02-11 18:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-08  3:50 image descriptors and defimage with :data Nic Ferrier
2002-02-08 20:26 ` Pavel Janík
2002-02-10  5:18 ` Richard Stallman
2002-02-10 13:53   ` Nic Ferrier
2002-02-11 18:47     ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).