123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|278|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Art and Sound -> Fugitive Pixel Smart Assist?

Thu, 05 Aug 2021, 19:38
PHS

Fugitive Pixel Smart Assist?


I'm doing some pixel art/sprite editing and was wondering if anyone knows of a "Smart Assist" tool that would find a wayward Fugitive Pixel that gets missed outside of a transparent image but within the borders of the dimensions.


Thu, 05 Aug 2021, 19:41
PHS
Of course, I know I could do a really tight selection, inverse selection, and then delete; but if a sprite has a black border, as the one I'm working on does, I'd think it'd be easy for A.I. to find any pixels that aren't part of the primary cluster.
Wed, 11 Aug 2021, 14:39
Jayenkai
If you still haven't figured out a better alternative, my suggestion would be to add a layer under the sprite, fill it with black, hunt for rogue pixels, delete.. Then fill it with white and do it again.
Most rogues oughta be obvious with both a black and white test.
This is one of those "Might as well just do the task manually" things. Anything automated would probably bugger something up.

-=-=-
''Load, Next List!''
Wed, 11 Aug 2021, 19:00
PHS
Yeah I guess I've done that time to time already; layer, black/white, delete, etc.

You're probably right about manual over automation.

Would hate to see AI go awry.




Thu, 12 Aug 2021, 00:23
spinal
What I do, is select the colour of the rouge pixel as my fill colour, set the background colour as my second colour, the just flood fill back and forth between the two until all of the pixels are caught.

-=-=-
Check out my excellent homepage!
Thu, 12 Aug 2021, 15:34
PHS
Yeah, good idea @spinal.

That makes me think of an idea. Say that the sprite you'd want to preserve has a solid color border, let's say black in this instance. A script or batch could be assembled to select the outer region, fill with a color other than black, then reselect all the fill and delete. Cycling through all colors but the border black. Make sense?
Thu, 12 Aug 2021, 15:38
Jayenkai
Again with the automating.. what's to stop it from going "oooh, all these pixels aren't black, either!" and erasing your actual sprite...

-=-=-
''Load, Next List!''
Thu, 12 Aug 2021, 17:50
PHS
True, would just need an intelligent script saying inside/outside of specified area/plot points. I know, far fetched and nothing I'm going to create but could be done I guess.