Hi,

first of all I'm sorry for not reading the original posting carefully  
(asking for a bitmap replacement for the mash only). Could have saved  
me from writing a very stupid posting.

Am 16.05.2008 um 10:12 schrieb Axel Freyn:
> What do you think about it? May be it could be nice to have such a  
> subroutine integrated in regular PyX - especially for 3D-Plots, or  
> am I missing something?

The idea is really cool. Unfortunately we need transparency support  
for bitmaps for proper occlurency. However, yes, transparency is now  
available in svn!

As we now have that, the right thing (tm) to do is to add a writer  
option mashasbitmap, as I did as well. By that it all comes down to  
setting the meshasbitmap flag to True ... and everything works  
magically.

The only problem we do have is that I need bitmap data from  
ghostscript including an alpha channel. This is available by the  
pngalpha device. No problem so far, but this means I need to use the  
PIL to read the ghostscript output ... so the mashasbitmap replacement  
code imports the PIL for reading the transparent png.


André

-- 
by  _ _      _    Dr. André Wobst, Amselweg 22, 85716 Unterschleißheim
    / \ \    / )   [EMAIL PROTECTED], http://www.wobsta.de/
   / _ \ \/\/ /    PyX - High quality PostScript and PDF figures
  (_/ \_)_/\_/     with Python & TeX: visit http://pyx.sourceforge.net/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to