PhotoFiltre
http://www.photofiltre-studio.com/forum/

How do I remove white outline around my sprite?
http://www.photofiltre-studio.com/forum/viewtopic.php?f=2&t=22719
Page 1 of 1

Author:  pearl84 [ 03 May 2019 13:15 ]
Post subject:  How do I remove white outline around my sprite?

I'm making a simple HTML5 game.

I had a sprite. I removed the background from this sprite using the "transparent background" option in Photofiltre. I do not have any other photo editing software.

I managed to remove the background from the sprite. Unfortunately, my sprite has a whitish outline around the figure. This outline is especially noticeable when my sprite is placed over dark backgrounds on the web page. white border around sprite [no_advertising]

I was wondering how other people deal with this problem?Thanks!

Author:  Antonio [ 03 May 2019 19:44 ]
Post subject:  Re: How do I remove white outline around my sprite?

when you erase the background, did you disabled Selection antialiasing ?

what is trnsparency depth ? 8 bits, 24 bits or 32 bits ?

can you post a sample ?

Author:  TinyAlien [ 05 May 2019 11:14 ]
Post subject:  Re: How do I remove white outline around my sprite?

One trick you can try is to first select the layer with the sprite on it.
Then in the menu select Selection, then select layer. You should now have a highlighted selection around the sprite also called marching ants.
Then click Selection again then select Contract, then choose a width, if you are not sure just choose 1 pixel. Then press ctrl+I to invert the selection, then click delete on your keyboard. This should remove a 1 pixel outline around the sprite. You can do this any number of times. If you made a mistake simply undo or press ctrl+z to undo.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/