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.

DarkBASIC Discussion / Hue changer

Author
Message
Xander
22
Years of Service
User Offline
Joined: 3rd Mar 2003
Location: In college...yeah!
Posted: 13th Jun 2004 08:10
Has anyone made a program or function that can adjust the colors in a bitmap to change the hue? I can do this really easily and quickly with Corel Photopaint, which I do, but I have to store 8 of every texture in my data folder because there are 8 different colors you can be. It would be better to only have to store one of them and adjust the colors in the game. It would use the same amount of memory and less hard drive space.

I will give full credit to anyone who could help me out with it. Memblocks would probably be the best way to go. Getting the color of a pixel is really really slow with the "get color()" command (something like that.)

I hope I don't bug anyone by asking this. Please don't think that you have to waste your time on with my problems. I could figure this out if I really wanted to. But aren't we all a little lazy once in a while?

So, anyone up to the challenge? Remember, DB Classic.

Xander Moser of Bolt Software
Firewall: Your Computer's First Defense - Real Time Strategy game
[href][/href]
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 15th Jun 2004 03:47
There is currently an image library in development. I don't think Kenmo has the hue part yet, but I'm sure it's coming.

Image library progress
http://www.dannywartnaby.co.uk/rgt/index.php?board=5;action=display;threadid=3554;start=0

If what you're looking for is a way to 'colorize' the image, then check out this thread.
http://www.dannywartnaby.co.uk/rgt/index.php?board=8;action=display;threadid=3665

"eureka" - Archimedes

Login to post a reply

Server time is: 2025-05-26 02:41:26
Your offset time is: 2025-05-26 02:41:26