Compose.jl icon indicating copy to clipboard operation
Compose.jl copied to clipboard

Non-PNG bitmap formats

Open dcjones opened this issue 9 years ago • 3 comments

It would be convenient to support writing directly to BMP, JPEG, TIFF, etc. I'm guessing the best way to do this would be through Images.jl.

dcjones avatar Dec 23 '14 04:12 dcjones

Would this replace or supplement the current cairo interface?

vchuravy avatar Dec 23 '14 10:12 vchuravy

If you decide on Images.jl, I'm happy to help. But indeed the cairo interface might suffice.

And, welcome back!

I suspect you might not have followed things very closely, so I'll highlight a promising development you might benefit from: https://github.com/JuliaLang/julia/pull/8745#issuecomment-65912547 may be coming soon to a Julia near you. Seems like it might make developing Gadfly a tad easier.

timholy avatar Dec 23 '14 10:12 timholy

I was thinking this would be on top of Cairo. Cairo supports writing to PNG, or raw bitmap data. Converting to other formats would rely another interfacing to an external dependency, like imagemagick, which Images already provides.

Thanks Tim, I haven't seen that. I'm going to miss reading the paper while I wait to test gadfly changes.

dcjones avatar Dec 23 '14 18:12 dcjones