Generating a spacer gif on the fly
Max M
maxm at mxm.dk
Wed Oct 9 05:36:17 EDT 2002
Hi
I am writing an app where it would be practical to have a function that
generates a spacer gif in a given color::
def spacer(color=''):
"Generates a 1x1 pixel gif with color, no color means transparent"
I have googled around for a solution, but didn't really find what I was
looking for. There are many libraries which does this, but I find this
to be overkille due to deployment issues. I have also found the GIF
spec, which I will use to do it with. It will just take sooo long.
My guess is that it can be done by very simple means if you only know
how. And I imagine that many has done something similar and has working
code in a dungeon somewhere.
Does anybody care to share?
regards Max M
><evolve>
> >
More information about the Python-list
mailing list