Boy, I haven't touched HTML since the late 2000s/early 2010s. This entry will help me practice, and preserve the method I use to make stamps from short video clips!
You will need:
- DaVinci Resolve (or another video editor that can export PNGs)
- Faststone Photo Resizer
- Krita
- a transparent stamp frame - they're usually on DeviantArt
1. DaVinci Resolve - Clip video, export as PNG sequence
In DaVinci resolve, edit at a 16:9 ratio. When you're satisfied with the length, zoom, etc. Go to the "Deliver" tab at the bottom of the screen and Export as a PNG sequence. I recommend specifying a new subfolder (e.g. /Videos/GIF ).
2. Faststone - mass resize all the frames
First, set up the export properly, something like a .JPG at a width a few pixels smaller than the frame you chose - in my case, 95 on the longest side. Then, navigate to the folder of PNGs you exported, Add All, and Convert.
3. Krita - Animation, add the stamp frame
Set up the animation
- Click-and-drag the first frame of your animation into Krita to make a New Document.
- Then, File > Import Animation Frames, and select all from the folder you used for your Faststone pictures. You might need to go Settings > Dockers > tick 'Animation' to see the animation timeline. Once all the frames are imported on a new "Paint Layer", trash the "Background" layer.
Add the stamp frame
- Image > Expand Canvas, and put in the dimensions of your stamp frame. In my case, 99 x 56 pixels.
- Click-and-drag your stamp frame into Krita to add it on top as a new layer. It should be active in the Layers docket on the side.
- Use the Wand Select to pick the area in the middle of the frame.
- With this selection active, click on the "Paint Layer" in the Layers docket. Go down just a bit and click right beside the [+] to Add Transparency Mask. It should look like everything fits! If not, trash just the mask and try the steps again.
- When everything looks good, File > Save As! don't forget to save your work as a .kra file! (haha)
- File > Render Animation. Pick a PNG sequence to preserve transparency.
4. Put the stamp GIF together
I use ezgif.com's GIF Maker. It's easy to mass upload all the 'frame' files you exported from Krita. From there, customize, optimize, whatever you like! Save and enjoy!