As i cannot find a way - neither in PIL nor in ImageMagick - to draw rotated
text (i took short views on both API's, did i miss something?) i need to
stay on my wxDC code. So the Xvnc or Xvfb thing will be the last chance to
get the CGI running. If somebody knows how to do that please post some
instructions to the list.
Thank you.
Oliver
···
-----Ursprüngliche Nachricht-----
Von: Oliver Walczak [mailto:oliver.walczak@momatec.de]
Gesendet: Donnerstag, 4. Dezember 2003 09:07
An: wxPython-users@lists.wxwindows.org
Betreff: AW: AW: [wxPython-users] wxDC - Standalone and with CGI?
Dear Robin,
Thank you a lot for your comprehensive contribution.
I use WinXP mainly for the client but the CGI will be focused to a Linux
server. However, i think that tools like Chaco constrict my goals too much.
The thing about ImageMagick i was pretty wrong i think, however, i just
heard that but it's never a good idea to talk after anyones mouth
I will try the XServer thing even if it sounds quite tricky and i'm far
beyond to be a Linux guru, but if it doesn't work it might be worth to port
everything to PIL. For any suggestions about the "dummy" Xserver and how to
do that i was very thankful.
All the best
Oliver
-----Ursprüngliche Nachricht-----
Von: cbarker [mailto:cbarker] Im Auftrag von Chris Barker
Gesendet: Mittwoch, 3. Dezember 2003 19:48
An: wxPython-users@lists.wxwindows.org
Betreff: Re: AW: [wxPython-users] wxDC - Standalone and with CGI?
Oliver Walczak wrote:
I didn't consider yet. As i began the project i was lucky to set up a
double
buffered drawing framework so easily with wxPython. The idea about the
server sided image creation came up much later. Do you know drawing
libraries which can be used to draw and show images in an interactive
window? I know ImageMagick but i heard this project was nearly dead.
Oliver
A few ideas:
1) What platform are you on? on *nix, you need to have an Xserver
running for wxWindows to connect to when it initializes. However, I
recall a suggestion on this mailing list a good while back that there is
a headless X server around that does nothing but look like an Xserver to
X clients, and you could run that on your server, and wxWindows would
think it was talking to a GUI. I'll probably try to get this working
myslef in the next few months, but havn't yet. A search of the web
should turn up what you need.
2) PIL should work fine as well, though with a different API that a DC.
3) PythonMagic does look viable...is it really dying?
4) The SciPy/Chaco folks are using Antigrain: for their bitmap
rendering...it should produce very nice output.:
http://www.antigrain.com/
They have presumably written python wrapper for it, as Chaco is Python
project. I don't know how hard it would be to use them by themsleves,
but it's worth checking out. They are focusing on Windows at the moment,
so you're likely to have more work to so on other platforms, but their
goal is cross platform support, so it shouldn't be too hard.
Please let us know what you come up with..others have had the saem
issues.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org