6 ms·
This made me smile :) if (looping.mode === "off") { // If you waited for a day, you deserve to see this workaround... // Since there is no way to not
by kjaer 2y ago
This made me smile :)
if (looping.mode === "off") {
// If you waited for a day, you deserve to see this workaround...
// Since there is no way to not loop a gif using gifwrap,
// let's just put a reeeeaaaaallly long delay after the last frame.
return 8640000;
}
- klimeryk 2y agoHahaha, achievement unlocked! Congratulations!
- burke 2y agoonly gotta wait 2.4 hours though, it's missing a zero :)
- benjijay 2y agoUnless the comment above has been edited, I make that 100 days?
- klimeryk 2y agoNo, it's correct - for some reason, the library expects centisecs O.o See https://github.com/jimp-dev/gifwrap?tab=readme-ov-file#new_GifFrame_new https://github.com/jimp-dev/gifwrap?tab=readme-ov-file#new_G... Although, I will admit I never waited 24 hours (or even 2.4 hours) to verify ;)
- p0w3n3d 2y agoNice, this reminds me that I made myself some time ago an avatar for a forum, and it has these crazy eyes standing still. Unless a few minutes passed, when they rolled. Only one person noticed it.
- latexr 2y agoI once grabbed the generic profile picture (a silhouette) for an internal bug tracker, tilted it slightly, then set it as my avatar. One person commented something looked off, but they couldn’t put their finger on what.
- zigman1 2y agoThats hilarious! :D
- klimeryk 2y agoLove that! Not many folks will notice, but those that do, it will make their day (or make their skin crawl). Speaking of which, there's two or three Easter Eggs in this app as well :)