Author Topic: Preset Size Question  (Read 1581 times)

AlphaEclipse

  • Guest
Preset Size Question
« on: October 17, 2013, 07:23:15 pm »
Helloo people~ I was wondering, I'm making a preset that can not exceed 5MB (For Halloween party), but it is 8MB. I have tried a compressed folder, which only brought it down to 6MB. I really spent a lot of time on this preset, and I don't want it to go to waste. I'm not sure what I should do, because I really don't want to start over on it. I already have tried getting rid of it's mane and a file on it I named preset_1scroll3.png, but it really didn't do anything. If there is something not clear, just tell me. -Isnotgoodwithcomputers- This is what my preset looks like:



I use photoshop and I don't really need help in making the preset, I just need to know how to compress it or make it smaller~
« Last Edit: October 17, 2013, 07:25:18 pm by AlphaEclipse »

Offline Ingredient

  • ~Dead men tell no tales~
  • Ancient Silver Mane
  • *****
  • Posts: 3,662
  • Country: 00
  • Floof-O-Meter: 366
    • Ingredient91
    • View Profile
Re: Preset Size Question
« Reply #1 on: October 18, 2013, 10:11:58 am »
Will be inactive due to work and exams.

Offline SteampunkWolfdog

  • That British Snob
  • Community Champion
  • ****
  • Posts: 1,870
  • Country: gb
  • Floof-O-Meter: 157
    • ClockworkCarnivore
    • felislupus
    • @charliehowls2
    • View Profile
Re: Preset Size Question
« Reply #2 on: October 18, 2013, 01:14:15 pm »
Firstly and most obviously, changing the dimentions of the files.
Some people use 1024px x 1024px files or bigger. This is really quite unnecessary. 512 x 512 should be the max size. The tail can be even smaller, perhaps 128 x 128. You can draw as the high resolutions but try and re-size down for the final product. Why should the eyeballs need the same size texture as the entire body?

PNG
The next common issue is the use of .png's.

I know why you all like to use .png's; they store the entire image exactly as the original was with a reasonable file size. Only there are ways to make it far smaller. So lets start with a body .png.


Heres our original a fairly normal body texture. 512 pixels square. It's current size is 339KB

Sticking with pngs as they are needed if you want to use transparency.
Lets start by indexing.
Open the index dialogue as follows



Set the "max colors" to 255 and go to File>Export

Once saved, we now have this

This is only 146KB so we've more than halved the size of the preset. Can you really see the difference? All we've done is reduce the number of colours this method won't work so well for a rainbow preset with lots of different colours. But most presets use varying shades of 1 or 2 colours.

Using the same method we can reduce the pallet further this time. I used 128.

So we've halved the palette again but this time we only shrank to 119KB. Still a saving but you might find its not worthwhile for you.

The rest of this guide will cover non-transparent textures only. (Note: if you not using alpha_blend as your transparencey method you can still use these).

You could try using these methods above.
If the textures aren't already 512x512, you could open the textures in Photoshop and scale them down to that size.
You could also try indexing them. That tutorial uses Gimp, so I'm not sure how you'd do it in Photoshop.

Preset (Updated 3/1/17)

(Formerly SpiritSilverWolf)

AlphaEclipse

  • Guest
Re: Preset Size Question
« Reply #3 on: October 18, 2013, 07:03:26 pm »
Thank you both so much! I'll try to use it now~

+Floof

EDIT: It worked! I have resized it to only 1.(Some random numbers..)MB. Dankies~
« Last Edit: October 18, 2013, 07:19:45 pm by AlphaEclipse »