[reportlab-users] Anybody else hungry for Image shapes?
Tue, 30 Jul 2002 22:58:07 +0100
> well actually I don't think it's strictly required that our images be
> obtained from things with pixels or even bits. I'm sure PIL can read
> those xpm files (which are basically text descriptions) and I suppose at
> some future time we ought to be able to read vector descriptions of
> various kinds. It would be really neat to get SVG images in via the same
> kind of simple interface.
I will have to think about this. My naive impression,
and I think everyone else's, was that we would just add an
object which represented a bitmap. Maybe we should just do that
first. Then if we want to add some other 'rectangular thing
with a known size' we can create some new base class and make
the bitmap and the 'thingy' both dervice from it, without
I think the right thing to do with vector formats is
try to import them as shapes. Once we add clipping,
you could still import an EPS or SVG as a "collection
of vector shapes in a rectangular clipping box".
Is there any difference in meaning between "Bitmap" and
"PixMap"? If not I think Bitmap is the most obvious name.