Search found 4 matches

by swordrong
Sat Jun 04, 2011 10:56 am
Forum: 欢迎使用中文讨论
Topic: 想用作图像处理,求助
Replies: 2
Views: 14854

想用作图像处理,求助

Dear jerome:
我想用picture打开一幅图像(上次您已解答),把每个像素值读取出来,实现一定算法后又保存为图像文件(想直接用,不是用C重新编写打开图像的代码)用picture可以吗?另我用surface显示图像时,显示没问题,想得到每个像素值,但surface.getpixel(x,y)老出错,不知何故?能有好办法吗?
盼您回音

yours swordrong
by swordrong
Thu Jun 02, 2011 6:17 pm
Forum: 欢迎使用中文讨论
Topic: how to load a image in picture dynamically and draw a line o
Replies: 4
Views: 19547

Re: how to load a image in picture dynamically and draw a li

非常感谢jerome,但是您的回答中有一个小bug. 应为surface.SetForeground。这个功能我已经实现过了,我想通过文件菜单打开一个图像文件,在picture控件中显示,但没成功,再次感谢jerome.
by swordrong
Thu Jun 02, 2011 5:51 am
Forum: 欢迎使用中文讨论
Topic: how to load a image in picture dynamically and draw a line o
Replies: 4
Views: 19547

how to load a image in picture dynamically and draw a line o

dear sir:
how to load a image in picture dynamically and draw a line on image?