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.

2D All the way! / Multiple Image Colorkey?

Author
Message
GoPostal
21
Years of Service
User Offline
Joined: 9th Sep 2004
Location:
Posted: 29th Dec 2004 17:12
Is it possible to set multiple colours as transparent on one image? Or, should I just change each of the colours I want transparent into one colour?
the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 30th Dec 2004 00:38
Not unless you convert the image to a memblock and test the colour of each pixel and change it to transparent if required, then change the memblock back to an image.

If you don't have a lot of images it will proberly be quicker just to use your image editor to change all the transparant areas to one colour.

Quote: "this is not a quote"
GoPostal
21
Years of Service
User Offline
Joined: 9th Sep 2004
Location:
Posted: 30th Dec 2004 22:27
Well, I am doing this with user-chosen images (this is an image view utility), so I will have to chose the hard way. Thanks

Login to post a reply

Server time is: 2026-06-11 13:13:17
Your offset time is: 2026-06-11 13:13:17