Skip to main content
c_Shane
Known Participant
June 22, 2023
Pregunta

Count number of colors

  • June 22, 2023
  • 2 respuestas
  • 426 visualizaciones

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.

Este tema ha sido cerrado para respuestas.

2 respuestas

Greg_S.
Community Expert
Community Expert
June 23, 2023

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. 

c_Shane
c_ShaneAutor
Known Participant
June 26, 2023

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.

c_Shane
c_ShaneAutor
Known Participant
June 22, 2023

I forgot to mention I'm using PSE 2023.

I can't seem to edit the original message.