Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] image functions

Author
Message
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 5th Jun 2004 09:53
two functions I already posted, and 2 new ones. desaturate (greayscale) image and colorize image. I came up with the colorize function after kenmo told me his was wrong. I'm sure he'll be posting a new dll soon. But just remember who had it working first!





"eureka" - Archimedes
darkdomy
21
Years of Service
User Offline
Joined: 6th Apr 2003
Location: Italy
Posted: 5th Jun 2004 15:11
hello
help!! samples use

hello tanks
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 6th Jun 2004 13:52 Edited at: 6th Jun 2004 13:52
Doesn't look that complex...

create_shadowed_image(texture image, light image, destination image)

blend_image(image 1, image 2 , destination, blend percent)

desaturate_image(source image, destination image)

colorize_image(source image, destination image, colour to colourize with)

Use 'em just like normal DBPro functions.

Two strings walk into a bar. I'll have a pint says the first$%ASLDJ09920D"$"$D. Excuse my friend says the second, he isn't null terminated.

Login to post a reply

Server time is: 2024-05-12 15:34:08
Your offset time is: 2024-05-12 15:34:08