Xion Audio Player

New Paint.Net PSD Plugin

News about Xion or the website

Postby Cliff Cawley » November 30th, 2008, 7:59 pm

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 :)
Last edited by Cliff Cawley on September 20th, 2009, 11:14 am, edited 1 time in total.
Cliff Cawley
Creator of Xion
r2 Studios
http://www.r2.com.au
http://xion.r2.com.au
User avatar
Cliff Cawley
Creator of Xion
 
Posts: 1955
Joined: September 3rd, 2006, 11:33 am
Location: Brisbane, Australia

Postby SLoB » December 1st, 2008, 6:12 am

N1 Cliff, This should really help non PS users :)
User avatar
SLoB
Xion Junkie
 
Posts: 1340
Joined: September 11th, 2006, 9:21 pm
Location: UK

Postby logokas » December 2nd, 2008, 9:49 am

I have a question.







What the hell is Paint.NET?
I shoot and ask questions later.

Take no offense of it.
User avatar
logokas
Xion Addict
 
Posts: 668
Joined: February 25th, 2008, 8:44 am
Location: Estonia

Postby OfficerMike07 » December 2nd, 2008, 12:16 pm

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.
User avatar
OfficerMike07
Xion Fan
 
Posts: 252
Joined: January 22nd, 2007, 12:36 pm
Location: A house, Lakeland, Florida, United States, North America, Earth, Milky Way

Postby logokas » December 2nd, 2008, 12:49 pm

Huh.

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

Cool. Might give it a try.
I shoot and ask questions later.

Take no offense of it.
User avatar
logokas
Xion Addict
 
Posts: 668
Joined: February 25th, 2008, 8:44 am
Location: Estonia

Return to News

Who is online

Users browsing this forum: No registered users and 5 guests

cron