Andre,

Thank you for responding. When I try to use the PIL method with the
following code:


import PIL
c=canvas.canvas()
metpics='image.jpg'
metpic=PIL.Image.open(metpics)
mx,my=metpic.size
bm_metpic=bitmap.bitmap(144,280,metpic,width=mx*unit.x_pt,height=my*unit.x_pt)
c.insert(bm_metpic)



I get the error:

"implementation limited to 8 bit per component only"

from the line:

metpic=PIL.Image.open(metpics)


How do I deal with this??

Thank you!


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to