CUT bitmap in part

CUT bitmap in part

Postby lailton.webmaster » Wed Mar 11, 2009 8:45 am

i see in samples fivewin this pic.

Image

i already see in Delphi, VB that is possivel recort only part of picture to use.

someone meet function to make it ?

i want cut book by book simulation a image with very icon that will insert in toolbar.

? thanks
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: CUT bitmap in part

Postby ukoenig » Wed Mar 11, 2009 6:47 pm

Hello,

Do You need only the images or a function ?
I wrote a function, cuts a defined image in equal pieces
and creates button-bmp's from the result.

Image

Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: CUT bitmap in part

Postby lailton.webmaster » Wed Mar 11, 2009 7:27 pm

I need cut icon by icon to use in tollbar

can u show me how u did it ?

thanks
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: CUT bitmap in part

Postby ukoenig » Wed Mar 11, 2009 8:11 pm

You can use PAINT

1. Load the image ( book.bmp )
2. select View > Zoom > user-defined > 400 %
3. From the tools choose the area-marker
4. define the area for the button
5. choose copy of the selection

Image

1. From the file-menue choose new
2. Resize the new image to a smaller size like the cut-out button
( file-menue > picture > resize )
3. Choose paste ( The image will resize to the selected button-size )
4. Save the new button with a new name

The same You have to do for all buttons

Image

Regards
Uwe :lol:
Last edited by ukoenig on Wed Mar 11, 2009 8:25 pm, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: CUT bitmap in part

Postby lailton.webmaster » Wed Mar 11, 2009 8:20 pm

no... i want recort it with fivewin..
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: CUT bitmap in part (solved)

Postby lailton.webmaster » Wed Mar 11, 2009 9:18 pm

SOLVED with ODO.prg "fwh/samples"

thanks
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 70 guests