Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!news.mathworks.com!newsfeed.internetmci.com!news.sprintlink.net!in2.uu.net!newsflash.concordia.ca!CC.UMontreal.CA!news.uqam.ca!news
From: bourdon bertrand <bourdon@larc.info.uqam.ca>
Subject: How to get a fixedPalette on a X-display?
Content-Type: text/plain; charset=us-ascii
Message-ID: <2SW3BZRR@news.uqam.ca>
Sender: news@news.uqam.ca
Nntp-Posting-Host: larc.info.uqam.ca
Content-Transfer-Encoding: 7bit
Organization: Universite du Quebec a Montreal
Mime-Version: 1.0
Date: Wed, 16 Aug 1995 14:24:07 GMT
X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.2 sun4c)
X-Url: news:comp.lang.smalltalk
Lines: 18

Hope it's the right newsgroup for such a question.
I'm new at Smalltalk and having the following problem:
I'd like to grab picture via 'Image fromUser' and store them in an OODBMS.
The trouble is that I can't keep the right palette as it's a MappedPalette
wich is associated with such an Image.
I'd like to know if there is a way to translate a MappedPalette in a
FixedPalette? Or, as I'm using X and a color display, how to catch the
screen palette as a fixed one. It should be possible, at least it's what
is writen in 'Objectworks\Smalltalk release 4.1 User's Guide' (pp 302)
but I couldn't find any explanation of how doing it, and the message use
primitive so I don't see how to ack it.
If sombody could give me a hint, it'll be greatly appreciated.

        Bertrand bourdon

bourdon@larc.info.uqam.ca
bourdon@etud.dauphine.fr

