123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|722|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz Max -> Multi-Defringe

Thu, 05 Mar 2009, 01:12
therevillsgames
Ever displayed a transparent image (eg a sprite) only to find it has a weird looking border around it when you move it?

This little program will help remove the border, by changing the alpha rgb of a png to the its neighbouring opaque pixels, this is to help remove "fringing" of images.... so you dont get a weird border effect when moving an image at a sub-pixel level.

This code was inspired by Yan's Defringe (https://yanbloke.googlepages.com/), but this one add multiple files.

To use, just select the folder where your pngs are, then select the destination folder (WARNING: It will overwrite files without asking...)




Exe and Code:

therevills.syntaxbomb.com/Multi-Defringe/Multi-Defringe.zip

www.therevillsgames.com/bmax/Multi-Defringe.zip

Enjoy!
Thu, 05 Mar 2009, 01:24
Jayenkai
Neat..
..

Now, who was it who had those rendered images, the other day, with the inexplicably green outline?

-=-=-
''Load, Next List!''
Thu, 05 Mar 2009, 04:36
JL235
Erebel!
Wed, 10 Jun 2015, 02:29
therevillsgames
Updated the link:

https://www.therevillsgames.com/bmax/Multi-Defringe.zip
Wed, 10 Jun 2015, 02:54
Jayenkai
6 years and counting!