Adventure Game Studio

AGS Support => Modules, Plugins & Tools => Topic started by: SSH on Fri 05/05/2006 13:38:15

Title: MODULE: ReadBMP v1.1 (with flood fill and colour replace)
Post by: SSH on Fri 05/05/2006 13:38:15
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.
Title: Re: MODULE: ReadBMP v1.00 (with flood fill)
Post by: Scorpiorus on Fri 05/05/2006 18:16:44
Clever stuff, yeah it may possibly be slow (especially reading large bitmaps) but still a good workaround at the moment :)
Title: Re: MODULE: ReadBMP v1.1 (with flood fill and colour replace)
Post by: SSH on Wed 10/05/2006 15:08:59
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
Title: Re: MODULE: ReadBMP v1.1 (with flood fill and colour replace)
Post by: Construed on Sat 05/02/2011 08:08:37
Its gone :(
Title: Re: MODULE: ReadBMP v1.1 (with flood fill and colour replace)
Post by: Dualnames on Sat 05/02/2011 17:17:44
Not before I say so.

http://www.mediafire.com/?n1u2hy0wwx7bppq
Title: Re: MODULE: ReadBMP v1.1 (with flood fill and colour replace)
Post by: SSH on Mon 07/02/2011 13:35:33
Its hardly necessary with the latest AGSes, anyway
Title: Re: MODULE: ReadBMP v1.1 (with flood fill and colour replace)
Post by: Construed on Thu 10/02/2011 15:42:54
Thanks!
Indeed, i guess the commands are included now?
Title: Re: MODULE: ReadBMP v1.1 (with flood fill and colour replace)
Post by: Monsieur OUXX on Mon 13/10/2014 15:08:44
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)