chasdo
Messages postés6Date d'inscriptionvendredi 1 mars 2002StatutMembreDernière intervention15 juillet 2003
-
17 mai 2003 à 17:00
madcow41
Messages postés54Date d'inscriptionvendredi 12 avril 2002StatutMembreDernière intervention11 mars 2008
-
14 déc. 2003 à 16:13
Je ne trouve aucun programme permettant de convertir une image jpg ou gif en bmp.
stevebelgium
Messages postés180Date d'inscriptionlundi 17 mars 2003StatutMembreDernière intervention 7 juin 20031 17 mai 2003 à 17:50
c'est facille =>
1 control => picture1
Picture1.Picture = LoadPicture("c:\le_bmp_jpg_blabla.jpg") ' ou gif ....
SavePicture Me.Picture1, "c:\le_bmp_blabla.bmp"
Saves a graphic from the Picture or Image property of an object or control (if one is associated with it) to a file.
IMPORTANT
-------------
==> Graphics in an Image property are always saved as bitmap (.bmp) files regardless of their original format.
MSN :
Syntax
SavePicture picture, stringexpression
The SavePicture statement syntax has these parts:
Part Description
picture Picture or Image control from which the graphics file is to be created.
stringexpression Filename of the graphics file to save.
Remarks
If a graphic was loaded from a file to the Picture property of an object, either atdesign time or atrun time, and it’s a bitmap, icon, metafile, or enhanced metafile, it's saved using the same format as the original file. If it is a GIF or JPEG file, it is saved as a bitmap file.
Graphics in an Image property are always saved as bitmap (.bmp) files regardless of their original format.
madcow41
Messages postés54Date d'inscriptionvendredi 12 avril 2002StatutMembreDernière intervention11 mars 2008 14 déc. 2003 à 16:13
Bonjour les gens,
J'utilise également cette méthode pour convertir JPG->BMP mais j'ai une perte d'info. En gros, l'image BMP passe en 256 couleurs... Heeeeeelp
En fait ce qui est bizzare, c'st que l'image BMP possède une pallette 24bits mais elle n'est pas entièrement utilisée... Je comprend pas trop ce qu'il se passe...
Si vous avez une idée...