I'm learning how to make gifs. Thread contains Goku
Parallax Skull

Parallax Skull

also reminder that i make a dozen+ of these a week but these days i mostly just post them on my tumblr, so that's where to go if you want to see em.
 
Parallax Skull

Parallax Skull

yes tumblr is full of people with 6 genders and all that crazy crap but it's also a good platform for sharing gifs
 
Parallax Skull

Parallax Skull

I found a decent way to get solid colors to come out better, something i was trying to figure out earlier this page.

Before


After


It takes some manual work to modify the palette but it's not that hard. I can sort the palette by popularity, delete the least used colors, and eyedropper some solid colored areas from the source video.

 
  • 1
Parallax Skull

Parallax Skull

figured out some more color tricks yesterday i'll post about em later
 
Parallax Skull

Parallax Skull

did each of these in 64 colors with custom palette.



 
  • 1
Parallax Skull

Parallax Skull

picking out your own colors instead of using automatically generated ones owns and makes stuff look way better
 
reptile dysfunction

reptile dysfunction

gimme dat
feb 8th??????? feb 8th?????????what the fuck mang
 
proof of concept

proof of concept

waiting for the day the whole world fucking dies
I could really use some help from someone who knows how to make gifs. Here's the most recent one I made.



The people in the foreground look much too grainy because the color palette does not have enough shades of colors to pick from. Most of the 256-color palette is different shades of green, since Photoshop's "Adaptive" color table selection is mostly selecting colors that appear in the background. Here is the table Photoshop created.



I don't need that many shades of green. I'd rather have fewer shades of green and increased dithering in the background in order to make the foreground characters look better. I've spent hours and haven't found a way to do this. If it requires using a different tool instead of Photoshop, I'll do that.

Can anyone help me out here?
this is from a while ago but the quantization error on the static portions of the foliage is killing you. There's no reason for those pixel values to change in the gif but that's what happens frame-to-frame when you compress HD video down to a restricted gif color palette. You probably have to separate the characters and foliage manually, reduce their palettes separately, and recombine. That way you (hopefully) won't see all that dancing noise on pixels that should never change color values, and the characters will (probably) have sharper edges and smoother shading. Luckily there's no dynamic shadow interactions between the characters and the forest greenery complicating things. It might be labor intensive but it would (I think) be a damn sight better than letting the automated reduction algorithm dedicate 90% of the color palette to representing compression artifacts on what should be static pixels in the scenery
 
  • 1
Parallax Skull

Parallax Skull

, Last edited:
I could really use some help from someone who knows how to make gifs. Here's the most recent one I made.



The people in the foreground look much too grainy because the color palette does not have enough shades of colors to pick from. Most of the 256-color palette is different shades of green, since Photoshop's "Adaptive" color table selection is mostly selecting colors that appear in the background. Here is the table Photoshop created.



I don't need that many shades of green. I'd rather have fewer shades of green and increased dithering in the background in order to make the foreground characters look better. I've spent hours and haven't found a way to do this. If it requires using a different tool instead of Photoshop, I'll do that.

Can anyone help me out here?
this is from a while ago but the quantization error on the static portions of the foliage is killing you. There's no reason for those pixel values to change in the gif but that's what happens frame-to-frame when you compress HD video down to a restricted gif color palette. You probably have to separate the characters and foliage manually, reduce their palettes separately, and recombine. That way you (hopefully) won't see all that dancing noise on pixels that should never change color values, and the characters will (probably) have sharper edges and smoother shading. Luckily there's no dynamic shadow interactions between the characters and the forest greenery complicating things. It might be labor intensive but it would (I think) be a damn sight better than letting the automated reduction algorithm dedicate 90% of the color palette to representing compression artifacts on what should be static pixels in the scenery
I've figured out a pretty effective way of dealing with this for some of the more recent gifs I've made. Sometimes all I need to do is delete a few of the auto-generated colors and use the eyedropper tool on a few spots in the source video to get colors I really want (especially for solid color areas). I can also use this technique to get away with reducing a gif's palette size, sometimes bringing it as low as 32 colors - and it can still look pretty good if I choose the right colors for it to use.

I'm always looking for ways to better optimize my gifs so that I can make stuff that's longer or better looking and keep it under tumblr's 3 MB limit. What you're suggesting sounds like I would need to mask out the characters in Photoshop, and I'm pretty bad at Photoshop. The only thing I use in Photoshop, once I've imported the video as a frame animation, is the "export to gif" window where I tweak the palette and settings like compression and dithering.

In between importing the video and exporting the gif, there's all sorts of things I could potentially do to the frames that might help the final gif look better or take up less space. That's an area I could work on learning more about if I'm looking for another way to improve at this.
 
Parallax Skull

Parallax Skull

, Last edited:
Here's an example of a more involved gif I made last week.



With my current workflow, it involved roughly one hour of video editing and another hour of hand-editing the palette. That one uses a 128 color palette and probably at least half of them were hand-picked. Note that there's a lot of artifacting in the background cause I stole a lot of the background colors and gave them to Goku.
 
  • 1
Parallax Skull

Parallax Skull

I just made this the other day and it's by far the longest gif I've made yet that's under tumblr's 3MB limit, clocking in at a little over 10 seconds. I usually keep it to around 2. I obviously had to sacrifice some visual quality, but I was able to make something satisfactory by lowering the palette to 64 colors, turning off dithering, and making good color picks for what goes in the palette.



I didn't have to use any lossy compression or drop the framerate at all. :thumbsup:
 
  • 1
proof of concept

proof of concept

waiting for the day the whole world fucking dies
@proof of concept i'd love to pick your brain (and your butt) if you have more knowledge about this sort of thing.
Ask away, I'll answer as best I can. I'm no photoshop pro either, so my workflow suggestions may not be the best way to do things. Hell, the solution you came up with of hand-tweaking color palettes is way less work to accomplish the same result as the masking method I suggested. I do know a bit about image/video processing from studying computer vision, and I read up on the gif standard back when you started this thread, so I can give some insight about why photoshop's automated color selection gives weird results and other stuff like that.
 
Parallax Skull

Parallax Skull

@proof of concept i'd love to pick your brain (and your butt) if you have more knowledge about this sort of thing.
Ask away, I'll answer as best I can. I'm no photoshop pro either, so my workflow suggestions may not be the best way to do things. Hell, the solution you came up with of hand-tweaking color palettes is way less work to accomplish the same result as the masking method I suggested. I do know a bit about image/video processing from studying computer vision, and I read up on the gif standard back when you started this thread, so I can give some insight about why photoshop's automated color selection gives weird results and other stuff like that.
Looking into the technical details of the gif format is something I was thinking of doing. IIRC from a college class a decade+ ago it uses a variation on the Lempel-Ziv algorithm, but that was for still-image gifs. I'd have to look up what it does when there's multiple frames of animation.

One possibility that I've considered is using Photoshop to reduce the palette to 256 colors before I even open the gif export window. There's probably various ways of doing that in Photoshop that could give me more flexibility on how the palette gets reduced.

I've also thought about looking into filters I might apply in Photoshop before I open the export window that could potentially give the final gif a smoother/nicer look, maybe reducing noticeable artifacts. Like I don't know, adjusting saturation or contrast or something. That's something I'd have to investigate.

Do you have thoughts/advice on any of that?
 
Parallax Skull

Parallax Skull

here's a gif. made it yesterday, 32 colors, 2.99 MB

 
Parallax Skull

Parallax Skull

@proof of concept Another thing that's obviously challenging is any sort of color gradient. I'm either gonna have a lot of dithering, a lot of banding, or use a ton of palette slots on it. Do you know of any tricks to working with those?