Skip to main content
c_Shane
Known Participant
Jun 22, 2023 9:39 PM UTC
Question

Count number of colors

How can I count the number of colors in a GIF? The Color Table is using all 256 colors, but the image has only about 8 colors in it. I would like to reduce the bit depth, so that the Color Table only contains colors used in the image.

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Greg_S.
Community Expert
Community Expert
Jun 23, 2023 7:35 PM UTC

Why do you want to reduce the bit depth?  To reduce size?  If so, you can use the File>Save for Web dialog to reduce the size of the file. 

Translate
c_Shane
c_ShaneAuthor
Known Participant
Jun 26, 2023 11:38 PM UTC

Yes, I would like to reduce the size.

 

Save for Web allows me to reduce the size of the color table, but if I don't know how many colors are in the GIF, I might be clipping colors.

Translate
c_Shane
c_ShaneAuthor
Known Participant
Jun 22, 2023 9:49 PM UTC

I forgot to mention I'm using PSE 2023.

I can't seem to edit the original message.

Translate