Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/04/2009, 17:21
Trulala de cordoba
 
Fecha de Ingreso: octubre-2000
Mensajes: 1.692
Antigüedad: 23 años, 6 meses
Puntos: 19
Respuesta: Redimensionar imagenes

Hola.
Basicamente un ejemplo sería este:
Código:
Dim dummyCallBack as System.Drawing.Image.GetThumbNailImageAbort
  dummyCallBack = New _
    System.Drawing.Image.GetThumbnailImageAbort(AddressOf ThumbnailCallback)
      
  Dim fullSizeImg as System.Drawing.Image
  fullSizeImg = System.Drawing.Image.FromFile("C:\Images\someImage.gif")
  
  Dim thumbNailImg as System.Drawing.Image
  thumbNailImg = fullSizeImg.GetThumbnailImage(100, 100, _
                                         dummyCallBack, IntPtr.Zero)
El ejemplo completo y con mejor funcionalidad:
http://www.4guysfromrolla.com/articles/012203-1.2.aspx
http://www.stardeveloper.com/article...3040501&page=1
__________________
PD: Con amor, fe, amor a Dios y amistad podemos hacer un mundo mejor!!!!