Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Go Back   Foros Club Delphi > Principal > Varios
Register FAQ Members List Calendar Guía de estilo Today's Posts

Coloboración Paypal con ClubDelphi

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 29/09/2016
Ramsay Ramsay is offline
Miembro
NULL
 
Join Date: Jan 2016
Posts: 104
Poder: 11
Ramsay Va por buen camino
Invalid image size en ImageList

El codigo :

Código Delphi [-]
  png := TPngImage.Create();
  Bitmap := TBitmap.Create();

  png.LoadFromStream(stream);

  Bitmap.Height := png.Height;
  Bitmap.Width := png.Width;

  Bitmap.Assign(png);

  //R.Left := 0;
  //R.Top := 0;
  //R.Right := 16;
  //R.Bottom := 16;
  //Bitmap.Canvas.StretchDraw(R, Bitmap);

  imagelist1.Add(Bitmap, nil);

  png.Free();
  Bitmap.Free();

El problema es que cada vez que agrego el bmp al imagelist recibo Invalid Image Size , intente con la respuesta de este post : https://www.clubdelphi.com/foros/showthread.php?t=78278, pero siempre es el mismo error , el stream carga bien , lo probe en un timage normal y funciona , no se que mas tengo que hacer , ¿ como soluciono esto ?
Reply With Quote
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
El objeto image sobre otra image CarlosAlberto Varios 2 26/01/2013 00:27
Misterioso BLOB SIZE QuarkBcn Varios 1 04/09/2008 10:05
Blob Size gliesse Conexión con bases de datos 2 21/04/2005 17:06
size mismatch flaca DelphiPACK 1 25/11/2004 21:46
custom size en QuickReport marianaf Impresión 1 15/12/2003 15:36


All times are GMT +2. The time now is 21:10.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi