High-Tech
Santé-Médecine
Droit-Finances
CodeS-SourceS
Inscription
Plan
Connexion
Rechercher un code, un tuto, une réponse
Accueil
Forum
Tutoriels
Codes Sources
Snippets
Top membres
Tous les langages
Delphi / Pascal
Java
Python
SQL
RegEx
Flash
ASM
IRC
Graphisme
PDA
ColdFusion
Foxpro
Flex
Visual Basic / VB.NET
Forum
Tutoriels
Codes Sources
Snippets
Top membres
PHP
Forum
Tutoriels
Codes Sources
Snippets
Top membres
C/C++/C++.NET
Forum
Tutoriels
Codes Sources
Snippets
Top membres
Javascript
Forum
Tutoriels
Codes Sources
Snippets
Top membres
C#/.NET
Forum
Tutoriels
Codes Sources
Snippets
Top membres
ASP/ASP.NET
Forum
Tutoriels
Codes Sources
Snippets
Top membres
Accueil
Connexion
Déposer un code
Code
Recherche
Haut
Forum
Delphi / Pascal
Sujet Précédent
Sujet Suivant
Image format png
yvessimon
Messages postés
637
Date d'inscription
mardi 22 avril 2003
Statut
Membre
Dernière intervention
9 janvier 2017
- 18 juil. 2008 à 12:08
f0xi
Messages postés
4205
Date d'inscription
samedi 16 octobre 2004
Statut
Modérateur
Dernière intervention
12 mars 2022
-
18 juil. 2008 à 16:42
Bonjour,
Comment transferer une image *.png dans une image *.bmp ?
Merci
Salutations
Afficher la suite
A voir également:
Image format png
Delphi format
-
Conseils pratiques -Delphi
Convertir tiff en png
✓
-
Forum C# / .NET
Convertisseur png jpg
✓
-
Forum Delphi / Pascal
Tif to png
-
Forum Delphi / Pascal
Convolution image
-
Conseils pratiques -Java
1 réponse
Réponse 1 / 1
f0xi
Messages postés
4205
Date d'inscription
samedi 16 octobre 2004
Statut
Modérateur
Dernière intervention
12 mars 2022
35
18 juil. 2008 à 16:42
pnglib tout simplement ...
uses pngimage;
var
BMP : TBitmap;
PNG : TPNGObject;
begin
PNG := TPNGObject.Create;
try
PNG.LoadFromFile( ... );
BMP := TBitmap.Create;
try
BMP.Assign(PNG);
{ ou }
BMP.Width := PNG.Width;
BMP.Height := PNG.Height;
BMP.PixelFormat := pf24bit;
BMP.Canvas.Draw(0,0,PNG);
BMP.SaveToFile( ... );
finally
BMP.Free;
end;
finally
PNG.Free;
end;
end;
<hr size="2" width="100%" />
Votre réponse
Discussions similaires
afficher une image png
ththththth
-
27 févr. 2007 à 11:09
ip2x
-
27 janv. 2009 à 11:51
Resize d'un PNG transparent
Nico8583
-
11 mai 2014 à 01:25
Cirec
-
31 mai 2014 à 14:27
Convertir un .bmp en jpg/gif/png
AMS010
-
6 juil. 2008 à 12:03
jeffy131
-
8 juil. 2008 à 11:56
Conversion image [jpg, gif ou png]
grand_jeanluc
-
18 mai 2005 à 19:42
grand_jeanluc
-
24 mai 2005 à 15:29
Transparence avec une image PNG ?
allthew3
-
30 juin 2006 à 13:36
allthew3
-
30 juin 2006 à 22:30
Rejoignez-nous