stumpy_gif alternatives and similar shards
Based on the "Misc" category.
Alternatively, view stumpy_gif alternatives based on common mentions on social networks and blogs.
-
sentry
Build/Runs your crystal application, watches files, and rebuilds/restarts app on file changes -
immutable
Thread-safe, persistent, immutable collections for the Crystal language -
crystagiri
An Html parser library for Crystal (like Nokogiri for Ruby) -
crz
Functional programming library for https://github.com/crystal-lang/crystal -
crystal-web-framework-stars
โญ๏ธ Web frameworks for Crystal, most starred on Github -
cron_scheduler
Simple job scheduler with crontab patterns for Crystal Language. -
crystal-futures
Future type implementation for Crystal language -
inflector.cr
Inflector shard for Crystal. A port of ActiveSupport::Inflector -
aasm.cr
:arrows_clockwise: Easy to use finite state machine for Crystal classes -
kreal
Kreal is a model sharing & RPC library built on and works with Kemal seamlessly. -
retriable.cr
Retriable.cr is a simple DSL to retry failed code blocks -
ulid
Universally Unique Lexicographically Sortable Identifier (ULID) in Crystal -
CrSerializer
Extensible annotation based serialization/deserialization library -
circuit_breaker
Implementation of the circuit breaker pattern in crystal -
burocracia.cr
๐ Zero-dependency Crystal shard to validate, generate and format Brazilian burocracias (CPF, CNPJ, CEP) -
wikicr
Wiki in crystal, using Markdown and Git, inspired by dokuwiki. Last features to build are pretty hard, if you have some time to help... :) -
m3u8
Generate and parse m3u8 playlists for HTTP Live Streaming (HLS) in Crystal. -
message_verifier.cr
Rails compatible MessageVerifier for Crystal-lang apps -
turkish-number
turn integers into the Turkish words for Crystal Language
Static code analysis for 29 languages.
Do you think we are missing an alternative of stumpy_gif or a related project?
README
stumpy_gif
Interface
StumpyGIF.write(frames : Array(Canvas), path_or_io, delay_between_frames = 10)
saves a list of frames (canvasses) as a GIF image file,delay_between_frames
is in 1/100 of a secondCanvas
andRGBA
from stumpy_core
Usage
Writing
require "stumpy_gif"
include StumpyGIF
frames = [] of Canvas
(0..5).each do |z|
canvas = Canvas.new(256, 256)
(0..255).each do |x|
(0..255).each do |y|
color = RGBA.from_rgb_n([x, y, z * 51], 8)
canvas[x, y] = color
end
end
frames << canvas
end
StumpyGIF.write(frames, "rainbow.gif")
Left to right: Websafe, median split, NeuQuant
[GIF image with an animated color gradient](examples/rainbow_websafe.gif) [GIF image with an animated color gradient](examples/rainbow_median_split.gif) [GIF image with an animated color gradient](examples/rainbow_neuquant.gif)
(See examples/
for more examples)
Color Quantization Methods
- Use Websafe colors
- Median Split
- NeuQuant
References
Contributors
Thanks goes to these wonderful people (emoji key):
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore --> | Leon | Sam | Stepan Melnikov๐ป | Dmitry Bochkarev๐ป | | :---: | :---: | :---: | :---: | <!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the all-contributors specification. Contributions of any kind welcome!