![]() |
2008-03-25
, 03:29
|
Posts: 11 |
Thanked: 1 time |
Joined on Mar 2008
|
#22
|
![]() |
2008-03-25
, 03:46
|
|
Posts: 549 |
Thanked: 502 times |
Joined on Feb 2008
@ Bowling Green Ohio (united states)
|
#23
|
![]() |
2008-03-25
, 04:20
|
|
Posts: 693 |
Thanked: 502 times |
Joined on Jul 2007
|
#24
|
![]() |
2008-03-25
, 04:39
|
Posts: 11 |
Thanked: 1 time |
Joined on Mar 2008
|
#25
|
![]() |
2008-03-25
, 10:55
|
|
Posts: 693 |
Thanked: 502 times |
Joined on Jul 2007
|
#27
|
public static Image ImageURIToImage(string url) { Image image = null; WebClient webClient = new WebClient(); try { MemoryStream ms = new MemoryStream(); Uri site = new Uri(url); Stream stream = webClient.OpenRead(url); image = Image.FromStream(stream); image.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg); stream.Close(); } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } return image; }
The Following User Says Thank You to pipeline For This Useful Post: | ||
![]() |
2008-03-25
, 13:29
|
Posts: 11 |
Thanked: 1 time |
Joined on Mar 2008
|
#28
|
zybrook : although you should not have gotten that bug, it seems Gnome namespace has not been ported to maemo. Cairo has been ported though so maybe you could use samples here (i've tried these and they seem to work) :
http://www.mono-project.com/Mono.Cairo_Cookbook
.
![]() |
2008-03-25
, 13:31
|
Posts: 53 |
Thanked: 44 times |
Joined on Feb 2008
|
#29
|
![]() |
2008-03-25
, 14:55
|
|
Posts: 693 |
Thanked: 502 times |
Joined on Jul 2007
|
#30
|
it is very great. how can u do it in vs2003?