Page 1 of 1

New Paint.Net PSD Plugin

PostPosted: November 30th, 2008, 7:59 pm
by Cliff Cawley
Ok, I downloaded the PSD plugin Source code and had a look at what was happening and at why this plugin wasn't allowing Xion to properly read the track, time, etc layers.

Basically the Plugin was saving each layer, the same size as the document. So if the document was 200x200, each layer, no matter what size the layer, would be saved with 200x200 worth of pixel data. Most of it transparent.

So what I've done is I modified the way that the plugin saves out the layer data so that it only saves out the data that isn't transparent. This is exactly what Photoshop does and is one of the reasons that the Photoshop files are a lot smaller.

As a test I saved a 200x200 PSD with 2 layers using the normal plugin found here -> http://frankblumenberg.de/doku/doku.php ... :psdplugin

It came up as 319KB. I then used my version of this plugin and saved the same file again. This time it saved as 57KB.

So not only are Paint.Net saved PSD files now smaller, but now all text and other layers work in Xion too!

One thing to notice, is that the Paint.Net plugin doesn't actually support RLE compression by the looks of the source, so some PSDs will still be larger than when you save them in Photoshop, but that shouldn't matter too much since you zip them for the final skin anyway.

To download my version of the Paint.Net Plugin, grab it from here and install it the same as the other version. -> http://xion.r2.com.au/paint.net/PhotoShop.zip

I've also updated Tutorial 1 to now link to this plugin.

Cliff :)

PostPosted: December 1st, 2008, 6:12 am
by SLoB
N1 Cliff, This should really help non PS users :)

PostPosted: December 2nd, 2008, 9:49 am
by logokas
I have a question.







What the hell is Paint.NET?

PostPosted: December 2nd, 2008, 12:16 pm
by OfficerMike07
logokas Wrote:What the hell is Paint.NET?


I seriously hope you're kidding... with a suffix like .net, it shouldn't be that hard to find out. Failing that, there's always google.

PostPosted: December 2nd, 2008, 12:49 pm
by logokas
Huh.

Didn't bother to look before. So it's a tiny GIMP/PS wannabe.

Cool. Might give it a try.