Oddbrother Posted January 9, 2015 Share Posted January 9, 2015 Hi, guys. I was hoping you could help me with finding a quick technique or an effect that helps with taking out duplicate lines in an image. When it comes to pixel art, there are times when a sprite graphic has been resized using the nearest neighbor technique. The resize may not have been perfect, either, as it may have been stretched or squeezed out of proper proportion and overlooked later on without it being possible to undo anymore. This may seem impractical, but I wonder if it's possible to scan the entire image horizontally and vertically for any similar lines, one after another. If there is, all the similar lines are deleted down to one unique line, which will safely look like resizing the sprite back to it's perfect size in dimensions. This would be like the same technique as "seam carving", except we're doing it by lines and not by pixels, and are not tolerating any close but not exactly similar content. Before: After: Finding and shrinking similar lines to one... horizontally, then vertically. Hope this clears up what I'm asking for. -Oddbrother Quote Link to comment Share on other sites More sharing options...
Red ochre Posted January 9, 2015 Share Posted January 9, 2015 The nearest thing I can think of is Madjick's 'Gravity' effect, here: http://forums.getpaint.net/index.php?showtopic=7968 It would probably require a bespoke plugin to do exactly what you want though. Quote Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.