Hola.
Tengo un lote de imagenes jpg que necesito cambiarles el tamaño.
Existe alguna libreria que pueda utilizar para hacerme una aplicacion?
gracias.
HB_FUNC( COPYMIMAGE ) // CopyMImage( HBITMAP hBitmap, INT nWidth, INT nHeight, UINT nType, UINT nFlag ) -> hBitmap
{
HBITMAP hNewBmp ;
HBITMAP hBitmap = ( HBITMAP ) hb_parnl( 1 ) ;
int nX = ( int ) hb_parni( 2 ) ;
int nY = ( int ) hb_parni( 3 ) ;
UINT nType = ( UINT ) IF( !hb_parnl( 4 ), IMAGE_BITMAP, hb_parnl( 4 ) ) ;
UINT nFlag = ( UINT ) IF( !hb_parnl( 5 ), LR_COPYDELETEORG, hb_parnl( 5 ) ) ;
hNewBmp = CopyImage( hBitmap, nType, nX, nY, nFlag ) ;
hb_retnl( ( LONG ) hNewBmp ) ;
}
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Google [Bot] and 38 guests