Hi folks I've been digging around a little. A route that might lead to a lighter install could be this:
1. Somehow install just enough of Graphviz to support SVG output (so no text/font/png/jpg stuff needed) 2. Install batik -- a Java tool that allows conversion of SVG to other formats (http://xmlgraphics.apache.org/batik/index.html). Apparently batik includes everything needed, so is quite large. On the plus side it's a self-contained java library that won't require messing with system setup. Applications would use the following chain: my app -> dot notation -> dot app -> svg -> batik -> png Is this easier from a deployment perspective? Tobin On Apr 18, 3:01 am, Keenan Brock <[email protected]> wrote: > Good call Ryan, > > Never thought imagemagick. > That probably includes most of the dependencies that GraphViz would > need. > > Also pruning down the supported formats to those 3 would probably > prune down the additional libraries needed much further. > > Also, thanks Tobes for asking the question. I had wondered a few times > but never came out and asked. Even if this ends up with a no, it is > better for us to ask than wonder. > > --K > > On Apr 17, 2009, at 7:17 PM, Ryan Tomayko wrote: > > > > > > > On Fri, Apr 17, 2009 at 11:33 AM, Yuri Niyazov > > <[email protected]> wrote: > >> Well, the whole thing already sounds like a no-go because heroku > >> doesn't > >> allow writing to the fs > > > Yeah, but I believe you can pipe in and out of graphviz. That combined > > with the Varnish HTTP cache could make for a workable solution. We'll > > see what we can do here. Graphviz would be really cool. The X > > dependencies would probably be the biggest barrier, although I believe > > most are already installed in support of other graphics related > > packages. > > > Thanks, > > Ryan > > >> On Apr 17, 2009 2:27 PM, "Keenan Brock" <[email protected]> wrote: > > >> dot (and nice)is a command line app. > > >> Graphviz is the package/library name. It is in macports and basically > >> all distributions. > > >> Most (all) ruby libraries are wrappers for the command line. > > >> The downside is it produces graphics. So it needs all the libraries > >> to > >> produce text in png, jpg, svg, pdf, bmp, ps, ... Think it requires > >> X, > >> truetype, and *lots* of others. May be possible to reduce the number > >> of outputs > >> by only supporting jpg, png, and svg. > > >> Do all browsers (iPhone, phones) support svg? Never really used it > >> but > >> looks cool. Seems to have the least number of dependencies. And with > >> css would be easy to make output good looking. > > >> Windows outlook on coworkers computers don't do well with png so I > >> used jpg for them. > > >> Thoughts about format support Tobes? What formats do you use? > > >> --Keenan > > >> On Apr 17, 2009, at 1:40 PM, Morten Bagai <[email protected]> > >> wrote: > > Hi, > >>>> Can you provide ... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
