Page 1 of 1
Reflect an Image
Posted: Fri Apr 11, 2008 9:44 am
by Silvio
Can I reflect an image with freeimage.dll?
Freeimage.dll
Posted: Fri Apr 11, 2008 10:32 am
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.
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
Posted: Fri Apr 11, 2008 12:37 pm
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
Flip- and Rotate - functions in freeimage.dll
Posted: Fri Apr 11, 2008 3:15 pm
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
Posted: Fri Apr 11, 2008 4:21 pm
by Silvio
sorry but inot want to flip and rotate images!!
Read the mesage please!
Posted: Fri Apr 11, 2008 5:19 pm
by Antonio Linares
Silvio,
Please take your time searching in google
Reflect
Posted: Fri Apr 11, 2008 9:28 pm
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
Posted: Fri Apr 11, 2008 10:28 pm
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
Dokumentation of Freeimage.dll
Posted: Sat Apr 12, 2008 10:25 am
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