juliaio / gifimages.jl Goto Github PK
View Code? Open in Web Editor NEWProvides Gif support in Julia using LibGif
Home Page: https://ashwani-rathee.github.io/GIFImages.jl/dev/
License: MIT License
Provides Gif support in Julia using LibGif
Home Page: https://ashwani-rathee.github.io/GIFImages.jl/dev/
License: MIT License
@JuliaRegistrator register
To benefit other packages:
Needs to eventually fixed in upcoming PR
The quantizers could possibly be improved, but doesn't have the bandwidth to check it ๐ข
Use MappedArrays to avoid allocating buffers for res
at each iteration. This could be GC-heavy if the image itself is large.
Lines 62 to 65 in c3b84d0
[]
is equivalent to Any[]
and is slow. Use Concrete types, e.g., UInt8[]
?
Line 35 in c3b84d0
colors
should also be a concret type Dict{RGB{N0f8}, UInt8}()
Lines 48 to 51 in c3b84d0
Computating order matters. Here we want to make sure pix
is a dense memory with valid pointer. But we can compute it in one line, e.g., map(x->colors[x], @view(img[:, :, i])')
. -- Vector
and Matrix
should be the same when you get the pointer of it so vec
is needless.
Lines 67 to 68 in c3b84d0
This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml
to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix
on this issue.
I'll open a PR within a few hours, please be patient!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.