AGS currently lacks the ability to do a Flood Fill, and so I've created a way to do it. It works on read-in BMP files (and so you can do a screenshot, etc if you want to do it on the screen). Now, the module also gives you the ability to make your own image manipulations on the data structure if you like.
Download ReadBMP here (http://ssh.me.uk/ReadBMP.zip) (Requires AGS v2.71!)
v1.1: Added a colour replacing function and fixed a bug which meant that if you loaded a BMP where the remainder of dividing the width by 4 was equal to 3 then you got a corrupted import.
Clever stuff, yeah it may possibly be slow (especially reading large bitmaps) but still a good workaround at the moment :)
Yeah, forgot to say... it's OK up to about BMPs of 50x100, but after that, sloooooow
Edit:
Fixed a bug and added some functionality... see first post
Its gone :(
Not before I say so.
http://www.mediafire.com/?n1u2hy0wwx7bppq
Its hardly necessary with the latest AGSes, anyway
Thanks!
Indeed, i guess the commands are included now?
I'm taking the liberty to dig up this thread, so that anyone who might stumble across it by googling be aware that there is something more recent to do the same : Version 2.0 http://www.adventuregamestudio.co.uk/forums/index.php?topic=51142.msg636498255#msg636498255
(that's almost a brand new module now, so I created a new thread)