soliip.blogg.se

Image sequence gifsicle
Image sequence gifsicle





image sequence gifsicle
  1. #Image sequence gifsicle update
  2. #Image sequence gifsicle full

From what I understand, the gif format itself does the 100th of a second rounding. Apparently you can specify units precisely, like -delay 33,1000 for 33/1000’s of a second, or even -delay 333,10000 for 333/10000’s of a second. I tried some other formats for the delay parameter. Specifically, a 300 frame animation set to run at 30 fps should run for 10 seconds, as the ffmpeg and gifski gifs do. Somehow, the gifs created with ffmpeg and gifski do seem to run at the exact fps specified. So they’ve actually been running a bit faster than 30fps. But it turns out it just puts a delay of 3/100’s of a second. Anyway, I’ve been using a delay of 3.33 to make them run at 30 fps. To my eye, they seemed like the same gif, with one exception – duration.Īctually I discovered today that ImageMagick’s delay property will truncate decimal arguments. I didn’t see any quality issues in any of them. A note on quality and durationĪll of the gifs produced seemed to me to be of very comparable quality.

#Image sequence gifsicle full

Full color source images could change everything. I should also note that all my tests have been on grayscale animations.

#Image sequence gifsicle update

I’ll be using it a lot more in coming weeks and days and update with any new findings. If you are dealing with gifs as your source image sequence, gifsicle might be a good compromise.īut I think the overall winner is gifski in terms of hitting that sweet spot. If you are going for speed, nothing beats ffmpeg. If you are going for size, nothing beats ImageMagick, but it takes forever. Gifsicle: with image conversion needed, way too long Size: ImageMagick: 13 mb Here’s the results I got: Time: FFMPEG: 5.780 s

image sequence gifsicle

Not as small as ImageMagick’s output, but way faster. Not as fast as ffmpeg, but image sizes are way smaller. Performance-wise, it hits a pretty sweet spot. I don’t think I really need to explain any of that. And it’s written in Rust, which tends to give projects a lot of street cred these days. As for size, it was almost right in between the sizes produced by ImageMagic and ffmpeg.īut the additional conversion process put this one out of the running for me. I didn’t time it, but I feel like it was more than a minute for 300 frames.

image sequence gifsicle

OK, I was able to put together a quick ImageMagick script to convert all my pngs to gifs. Big drawback on this workflow though: the source images have to be gifs themselves.

image sequence gifsicle

I think it would be better to do this in the palette creating stage.īut gifsicle can also create gifs from a sequence of images, just like ImageMagick and ffmpeg. This got considerable results, but at a loss of quality. You can also use gifsicle to reduce colors in an existing gif. The highest level took a single megabyte off of a 27 mb gif. You can specify three levels of optimization. I tried it on some of the larger ffmpeg-created gifs and it didn’t seem to do a whole lot. I first heard about gifsicle a while ago as a tool to optimize gifs. I’ve been continuing my search on the ultimate gif-making workflow and came across two more tools.īoth of these are command line tools available across platforms.







Image sequence gifsicle