Bonjour à tous, j'aimerais faire des miniatures avec la fonction imagecreatefrom de type 6 pour le bmp mais ça ne marche pas.
PHP INFO:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 header("Content-Type: image/jpeg"); list($width, $height, $type, $attr) = getimagesize("$pic"); if($type == "1") { $img_in = imagecreatefromgif($pic); } if($type == "2") { $img_in = imagecreatefromjpeg($pic); } if($type == "3") { $img_in = imagecreatefrompng($pic); } if($type == "6") { $img_in = imagecreatefromwbmp($pic);
Merci de vos réponse.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 GD Support enabled GD Version bundled (2.0.28 compatible) FreeType Support enabled FreeType Linkage with freetype T1Lib Support enabled GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled







Répondre avec citation



Affichez votre code en couleurs : [CODE=php][/CODE] (bouton # de l'éditeur) et [C=php][/C]
Partager