



Perceptual to create a custom color table by giving priority to colors for which the human eye has greater sensitivity.Here are the options for choosing color reduction: But depending on the original video, you might need to increase the number of colors to get a better result.Ħ. How to Choose the Color Reduction Algorithm Generally speaking, it's good to stick with 64 colors or less to compress the GIF file in Photoshop. The maximum amount of colors is 256, which comes from the 8-bit-depth limitation. The most relevant option for optimizing GIF size is the number of colors used in the Color Table. How to Change the Number of Colors That Are Animated Once you're ready, you can save the new optimized GIF, which should be much smaller than the original.ĥ. If you don't do this compensation, your animation will be played faster than the original.

Then you should select all the remaining frames and increase their duration to compensate for the loss of frames. You can also reduce the GIF size if you reopen the exported GIF back into Photoshop and delete every second or third frame from the Timeline panel. If you decide to further reduce the GIF size in Photoshop, you can still do it here. Notice that the animation options will appear in the bottom right corner of the dialog box. My favorite thing about this workflow is that we don't have to do any conversion on the Timeline panel to be able to save a frame animation, as the Save for Web dialog box will do the work for us once you select the GIF file format as your output. You can find it by going to File > Export > Save for Web or by pressing Alt-Shift-Control-S. Your video layer will have to be turned into a Smart Object if you reduce the GIF size, but you don't have to worry about this-it won't affect our workflow at all.Īnother option to reduce GIF size in Photoshop is the "Save for Web" function. You can either reduce the GIF image file size by going to Image > Image Size or by hitting Alt-Control-I. Turn on the Loop option and try to find a good place to trim your video. Most of the time, you won't need the whole sequence for the GIF animation, so you can trim the video by going to Window > Timeline. First of all, you'll need to open the video file with Photoshop.
