Diversions
 Pixel Joint Forum : The Lounge : Diversions
Message Icon Topic: Pallet control in Photoshop Post Reply Post New Topic
Author Message
Mnots
Seaman
Seaman
Avatar

Joined: 13 August 2022
Online Status: Offline
Posts: 8
Quote Mnots Replybullet Topic: Pallet control in Photoshop
    Posted: 06 January 2016 at 8:58am
Evening! I'm a programmer who's recently been diving into Unity for game creation. I've had plenty of experience in putting together example projects and tutorials, and am now working on a personal project, a 2D Dark Souls-inspired rpg.

Anyway, long story short, I've never done pixel art before. I've been browsing here for quite some time, and finally stumbled across this site: http://yanrishatum.ru/pj/

Running my own sprites through it, I noticed that my color count was drastically higher than what I had thought. This sprite, which was made from a pallet of 20 colors, counted up to be 72 instead.


After some further research, I found that photoshop may have been a bad place to do my sprite work. Is there a better way to do pallet control in photoshop? Or do I need to suck it up, and use a different program?
IP IP Logged
jalonso
Admiral
Admiral
Avatar

Joined: 29 November 2022
Online Status: Offline
Posts: 13537
Quote jalonso Replybullet Posted: 06 January 2016 at 11:57am
PS is not the problem.
Its your app settings and output options that are the problem.
I am unable to reply in depth right now.
IP IP Logged
Mnots
Seaman
Seaman
Avatar

Joined: 13 August 2022
Online Status: Offline
Posts: 8
Quote Mnots Replybullet Posted: 06 January 2016 at 12:01pm
Well, thanks for the response, regardless!

I'll look into output options a bit more and see if Google can point me in the right direction.
IP IP Logged
jalonso
Admiral
Admiral
Avatar

Joined: 29 November 2022
Online Status: Offline
Posts: 13537
Quote jalonso Replybullet Posted: 06 January 2016 at 12:27pm
I will explain in depth later.
You are outputting in png24 instead of png8 and/or rgb instead of indexed is the gist.
IP IP Logged
Mnots
Seaman
Seaman
Avatar

Joined: 13 August 2022
Online Status: Offline
Posts: 8
Quote Mnots Replybullet Posted: 06 January 2016 at 4:40pm
Tried using the "Save for Web" function, and output as png-8. It seems to have worked:
http://yanrishatum.ru/pj/?input=http%3A%2F%2Fi.imgur.com%2FYWYZCpZ.png

If there's a means to set this as the default method for any png that I save, that'd be great.

Either way, thanks @jalonso for the point in the right direction!
IP IP Logged
jalonso
Admiral
Admiral
Avatar

Joined: 29 November 2022
Online Status: Offline
Posts: 13537
Quote jalonso Replybullet Posted: 06 January 2016 at 5:25pm
PS is all about the settings when it comes to pixelart.
PS always defaults to the latest and fanciest to pixel people have to did thru to find the basics.

Sadly, PS defaults to png24 so only 'save for web' allows you to get to that unless you write a script for yourself tho 'actions' can do it too if you are just using one setting.
I'm just used to 'save for web' to be safe and so I can double check stuff. There is more stuff in those panels too. Check transparency even if nothing is transparent and selective works better for me than adaptive.

If png24 is ok for you but you need color control work in 'index' mode. This is a good option if you have a preset palette.
I just rgb my way and then save for web and never have color problems. Tbh, I just output as gif 99.9% of the time.

There is PS articles in the links section of the gallery but some is also found in noobtorials thread. Link in my sig to that.
IP IP Logged
Mnots
Seaman
Seaman
Avatar

Joined: 13 August 2022
Online Status: Offline
Posts: 8
Quote Mnots Replybullet Posted: 07 January 2016 at 5:05am
Alright. Just using 'Save for web' is fine by me. I'll practice around a bit more with index mode and give those articles a read-through.

Thanks again for all the help.
IP IP Logged
jalonso
Admiral
Admiral
Avatar

Joined: 29 November 2022
Online Status: Offline
Posts: 13537
Quote jalonso Replybullet Posted: 07 January 2016 at 6:04am
Cool.
If you find anything new or special let us all know :)
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum