[Openstreetmap-dev] Named Pipes redux
SteveC
steve at asklater.com
Sun Dec 4 13:41:34 GMT 2005
* @ 04/12/05 12:53:43 PM sxpert at esitcom.org wrote:
> Ben Gimpert wrote:
> >On Sun, Dec 04, 2005 at 12:17:00PM +0000, Ben Gimpert wrote:
> >
> >>On Sat, Dec 03, 2005 at 03:17:29AM +0000, SteveC wrote:
> >>
> >>>gpx.rb wakes up when called and grabs n gps points from the database and
> >>>renders them using the ruby Cairo bindings. unfortunately it needs to
> >>>save the image and read it back in as you can't get the binary out of
> >>>Cairo. Hence a move is in progress to ruby-magick bindings.
>
> what exactly do you mean "you can't get the binary out of cairo" ???
not cairo, the ruby cairo bindings. you can only get the binary of a
jpeg or png by saving it to a file and then reading it back in. See my
mail to the cairo mailing list, it's a known bug.
In ruby magick bindings you just call .to_blob and puts that.
have fun,
SteveC steve at asklater.com http://www.asklater.com/steve/
More information about the dev
mailing list