Hi William,

Am 06.01.2012 um 23:24 schrieb William Hudspeth:
> 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)

Can you send us the full traceback? PyX should not be involved in this line. 
Can you give any details about the image? For example the output of the 
identify tool from the imagemagick package (run "identify image.jpg" at the 
shell prompt).

Best,


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/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
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