Need to convert (first frame of) animated GIF to JPG

I use “Irfanview,” which is free. It lets you roll through animated .gif files and capture any individual frame.