Reflect an Image

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

Reflect an Image

Post by Silvio »

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

Falconi Silvio
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Freeimage.dll

Post by ukoenig »

Hello Silvio,

Just copy freeimage.dll in you working-directory.

In your program you do :

Code: Select all


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

Post by Silvio »

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
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Flip- and Rotate - functions in freeimage.dll

Post by ukoenig »

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

Post by Silvio »

sorry but inot want to flip and rotate images!!

Read the mesage please!
Best Regards, Saludos

Falconi Silvio
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Silvio,

Please take your time searching in google
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Reflect

Post by TimStone »

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
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

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
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Dokumentation of Freeimage.dll

Post by ukoenig »

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.
Post Reply