gillescpp
Messages postés33Date d'inscriptionmercredi 19 février 2003StatutMembreDernière intervention22 octobre 2007 18 nov. 2003 à 20:54
Essayes avec "System.Drawing.Image"
a peu pres comme :
Image img = Image.FromFile(chemin);
sinon ... je sais pas
cs_welc
Messages postés14Date d'inscriptionvendredi 2 novembre 2001StatutMembreDernière intervention19 novembre 2003 18 nov. 2003 à 19:21
Concernant les images, pour charger un gif animer je fais :
Bitmap bmp = new Bitmap(this.GetType(),"copy.gif");
Color bakColor = bmp.GetPixel(1,1);
bmp.MakeTransparent();
pictureBox1.Image = bmp;
En enlevant la ligne MakeTransparent, ça marche, mais quand ele y est, picturebox affiche qu'une seule frame, puis sa bloque.
18 nov. 2003 à 20:54
a peu pres comme :
Image img = Image.FromFile(chemin);
sinon ... je sais pas
18 nov. 2003 à 19:21
Bitmap bmp = new Bitmap(this.GetType(),"copy.gif");
Color bakColor = bmp.GetPixel(1,1);
bmp.MakeTransparent();
pictureBox1.Image = bmp;
En enlevant la ligne MakeTransparent, ça marche, mais quand ele y est, picturebox affiche qu'une seule frame, puis sa bloque.