Closed ashwani-rathee closed 2 years ago
Not entirely sure that we would be able to have 3 different types of inputs here as I don't see a function that read from Vector{UInt8}
No need to worry too much about this. It's okay to ship one feature at a time. Supporting IOBuffer()
could be delayed to when we really need it.
New method shows improvement of 15x
julia> @btime load(path); #imagemagick method
30.908 ms (713080 allocations: 24.99 MiB)
julia> @btime gif_decode(path); #gifimages method
2.589 ms (169 allocations: 537.73 KiB)
I am still investigating the reason behind why it's failing in windows but issue is not related to this package but loading of libgifextra:
ERROR: LoadError: InitError: could not load library "C:\Users\runneradmin\.julia\artifacts\0fea2f7f9ede8707ffab3622b24de357a1773814\bin\libgifextra.dll"
The specified module could not be found.
I would generally want it to pass for windows too but I want to move forward with the PR and merge it to work on encode function and get the windows issue fixed eventually.