Guys:
Is there a way to know how many pixels a JPG is ? For example 278 pixels wide and 350 high. Thank you.
DEFINE WINDOW oWnd FROM 00,00 TO NO_OF_ROWS - INT(oBMP1:nHeight() / 15.18987341772151898 ), ;
NO_OF_COLS - INT(oBMP1:nWidth() / 7.933884297520661157)
// Use and adjust Image to Window-Size ( Background )
ACTIVATE WINDOW oWnd NORMAL ;
ON PAINT ( DRAWBITMAP( hdc, oBMP1:hbitmap, 0, 0, oBmp1:nWidth(), oBmp1:nHeight() ) )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 39 guests