senrisei Posted September 27, 2015 Share Posted September 27, 2015 Hey, uhm... I've been creating pixel art sprites in Paint.net and there is one thing causing me serious issues. What I've been doing is making multi-layer images with fully opaque art on each layer surrounded by fully transparent backgrounds. I've been batch converting copies of my PDN files into PNGs with an external program (Irfanview) and issues with transparent backgrounds leaving behind odd pixels that weren't made transparent. I returned to paint.net and used Image sampling + eyedropper to find out that some "Transparent" pixels had a alpha of 1/255. Is there a way to prevent this while still leaving the image as a pdn? Or alternatively, is there a way to batch process the pdns to png without these semitransparent pixels becoming opaque? (Batch - as in without individually flattening and saving what will be 500 PDNs) Quote Link to comment Share on other sites More sharing options...
racerx Posted September 27, 2015 Share Posted September 27, 2015 I use Irfanview all the time as an image viewer. It often gets the alpha channel wrong. My version is old and doesn't support .pdn, but I understand your problem. Don't use Irfanview for conversion. Quote Link to comment Share on other sites More sharing options...
senrisei Posted September 27, 2015 Author Share Posted September 27, 2015 I use Irfanview all the time as an image viewer. It often gets the alpha channel wrong. My version is old and doesn't support .pdn, but I understand your problem. Don't use Irfanview for conversion. Alas, that doesn't solve my problem... I've fiddled with Irfanview's PNG output settings and nothing can avoid that 1/255 colour shift. But it's the only program I've found that can mass convert PDN into PNG. Quote Link to comment Share on other sites More sharing options...
midora Posted September 27, 2015 Share Posted September 27, 2015 You may write a simple .bat file to enumerate your .pdns and call pdn2png to convert the files. Quote Link to comment Share on other sites More sharing options...
senrisei Posted September 27, 2015 Author Share Posted September 27, 2015 Okay, I've finally found a way to remove these troublesome 'Just off' pixels through Irfanview. It's a bit more trial and error than I'd like, but lowering colour depth in batch settings is so much faster than the alternative. Quote Link to comment Share on other sites More sharing options...
racerx Posted September 27, 2015 Share Posted September 27, 2015 You can use Alt2LayerSaver plugin to export your layers as 32-bit PNGs with full quality. Better than reducing quality using 255 colors.... Quote 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.