Reflect an Image

Reflect an Image

Postby Silvio » Fri Apr 11, 2008 9:44 am

Can I reflect an image with freeimage.dll?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Freeimage.dll

Postby ukoenig » Fri Apr 11, 2008 10:32 am

Hello Silvio,

Just copy freeimage.dll in you working-directory.

In your program you do :

Code: Select all  Expand view  RUN

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.

Image

or a Gradient-design with colors

Image

you can use brushes, pictures, colors ...

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

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

Postby Silvio » 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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Flip- and Rotate - functions in freeimage.dll

Postby ukoenig » Fri Apr 11, 2008 3: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
Last edited by ukoenig on Fri Apr 11, 2008 4:26 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

Postby Silvio » Fri Apr 11, 2008 4:21 pm

sorry but inot want to flip and rotate images!!

Read the mesage please!
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Fri Apr 11, 2008 5:19 pm

Silvio,

Please take your time searching in google
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Reflect

Postby TimStone » Fri Apr 11, 2008 9: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
User avatar
TimStone
 
Posts: 2945
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby Silvio » 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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Dokumentation of Freeimage.dll

Postby ukoenig » 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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi, Willi Quintana and 76 guests