FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour CUT bitmap in part
Posts: 603
Joined: Sun May 04, 2008 08:44 PM

CUT bitmap in part

Posted: Wed Mar 11, 2009 08:45 AM
i see in samples fivewin this pic.



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
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

Re: CUT bitmap in part

Posted: Wed Mar 11, 2009 06: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.



Regards
Uwe :-)
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.
Posts: 603
Joined: Sun May 04, 2008 08:44 PM

Re: CUT bitmap in part

Posted: Wed Mar 11, 2009 07:27 PM

I need cut icon by icon to use in tollbar

can u show me how u did it ?

thanks

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

Re: CUT bitmap in part

Posted: Wed Mar 11, 2009 08: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



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



Regards
Uwe :-)
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.
Posts: 603
Joined: Sun May 04, 2008 08:44 PM

Re: CUT bitmap in part

Posted: Wed Mar 11, 2009 08:20 PM

no... i want recort it with fivewin..

Posts: 603
Joined: Sun May 04, 2008 08:44 PM

Re: CUT bitmap in part (solved)

Posted: Wed Mar 11, 2009 09:18 PM

SOLVED with ODO.prg "fwh/samples"

thanks

Continue the discussion