JuliaAttic / Color.jl

Basic color manipulation utilities.
Other
47 stars 21 forks source link

Generalize writemime method to AbstractVector or arbitrary iterable #35

Closed jiahao closed 10 years ago

jiahao commented 10 years ago

Here is a writemime method which seems overly specialized. Is there a reason why this can't be AbstractVector{T<:ColorValue}, or even an arbitrary iterable?

Related: #14

dcjones commented 10 years ago

I would have liked to make it work for anything that iterates over colors, but I don't think that's encompassed by anything narrower than Any.