FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Reflect an Image
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Reflect an Image
Posted: Fri Apr 11, 2008 09:44 AM

Can I reflect an image with freeimage.dll?

Best Regards, Saludos



Falconi Silvio
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Freeimage.dll
Posted: Fri Apr 11, 2008 10:32 AM
Hello Silvio,

Just copy freeimage.dll in you working-directory.

In your program you do :

cPICTURE := "c:\TEST.JPG"

DEFINE IMAGE oImg cPICTURE
DEFINE WINDOW oWnd TITLE "test"
...
...

ACTIVATE WINDOW oWnd MAXIMIZED ;
ON PAINT PalBmpDraw( hDC, 0, 0, oImg:hBitmap )


When it is not very urgent, i'm nearly finished
with the tools. There you can build your desired look
( backgrounds with colors or pictures ), on screen.
After that, the program write the source for you.



or a Gradient-design with colors



you can use brushes, pictures, colors ...

When it is finished, i put a message in the forum.

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: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Reflect an Image
Posted: Fri Apr 11, 2008 12:37 PM

ukoenig,
I pray U
if you not know how make it not reply with another problems

i want reflect an image and not that you reply

Best Regards, Saludos



Falconi Silvio
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Flip- and Rotate - functions in freeimage.dll
Posted: Fri Apr 11, 2008 03:15 PM

Hello Silvio,

I had a look at the documentation of freeimage.dll
There are flip- and rotate-functions,
you can call from inside the dll.
For the call-syntax, i must look for
more informations about the functions.

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: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Reflect an Image
Posted: Fri Apr 11, 2008 04:21 PM

sorry but inot want to flip and rotate images!!

Read the mesage please!

Best Regards, Saludos



Falconi Silvio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Reflect an Image
Posted: Fri Apr 11, 2008 05:19 PM

Silvio,

Please take your time searching in google

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Reflect
Posted: Fri Apr 11, 2008 09:28 PM

Silvio,

What does "reflect" mean to you ?

The english term reflect would be like a picture of a pond. The area around the pond "reflects" in the water, which means it is "flipped" and then "transposed" onto the water.

You would probably have to create a new image with a reflection using something like Photoshop and layers, then merge it into a .jpg to view.

If this is not what you mean, then perhaps you need to find a better word to present your question.

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Reflect an Image
Posted: Fri Apr 11, 2008 10:28 PM

to antonio and all,
i can make it with asp and vbscript if you want i can insert iton my page on my website.
I'd like create it with xharbour..to create a effect for a class i 'trying to create.
On monday i work to see you what i mean..and then i write here the adddress of my website

Best Regards, Saludos



Falconi Silvio
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Dokumentation of Freeimage.dll
Posted: Sat Apr 12, 2008 10:25 AM

Hello Silvio

I think, i know what you mean :
To put a special-effect on a image ?

When you still want to know, what is possible
with freeimage, i found a nice documentation for you.

Download from my website :

http://www.pflegeplus.com/fw_downloads/freeimage393.pdf

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.

Continue the discussion