PIL을 이용한 이미지 삽입

import Image, matplotlib
from pylab import *

img = imread("image.png")
#imread는 gif는 안되는것 같습니다. png가 문안하게 잘 작동합니다.
fig = plt.figure(figsize=(11.69, 8.27))
# 11.69, 8.27은 A4를 인치로 표현한 것입니다. 가로가 넓은 Format입니다.
fig.figimage(img,xo=30,yo=520)
# 기준은 좌측 하단으로 좌측 하단이 0,0이 됩니다.





크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by gwlee

2010/07/15 00:00 2010/07/15 00:00
, , , ,
Response
0 Trackbacks , 0 Comments
RSS :
http://thegreatgoodplace.com/tt/study/rss/response/345

Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/345

Leave a comment
« Previous : 1 : 2 : 3 : 4 : 5 : 6 : 7 : 8 : ... 137 : Next »

블로그 이미지

Stay Hungry Stary Foolish!

- gwlee

TC-Cumulus by reznoa requires Flash Player 9 or better.

Site Stats

Total hits:
62653
Today:
1
Yesterday:
51