![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
30/09/2011, 10:57
|
![Avatar de GatorV](http://static.forosdelweb.com/customavatars/avatar138775_9.gif) | $this->role('moderador'); | | Fecha de Ingreso: mayo-2006 Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 8 meses Puntos: 2135 | |
Respuesta: Redimencionar y Rellenar Imagenes.. Con imagecopyresampled() e imagecreatetruecolor() lo puedes hacer, simplemente creas la imagen por 400 x 400, la rellenas del color que quieres, y luego haces el copiado de la imagen ajustado a ese tamaño maximo (ya sea en Width o Height).
Saludos. |