[racket] Drawing PostScript file on slideshow

From: Michael Wilber (mwilber at uccs.edu)
Date: Wed Jul 4 00:22:08 EDT 2012

I don't know of any ways to import vector graphics in the standard
library. Maybe an official developer can give pointers.

There's a "pdf-render" package on planet. It's just FFI bindings to
libpoppler. It only works on linux though, and who knows how stable it

#lang racket
(require slideshow/pict
         (planet gcr/pdf-render))
(show-pict (page->pict "oopsla04-gff.pdf"))


On Wed, 4 Jul 2012 12:19:37 +0900, Yoshimoto Haruhiro <accalyne at gmail.com> wrote:
> Hi, I'm using Racket 5.2.1 on Gentoo Linux.
> Is there any way to draw PostScript or EPS (or some other vector
> image) file as pict data in slideshow?
> I know that it is possible to draw PNG file by using (bitmap ..) function.
> However, if i convert EPS to PNG and print it as PostScript, i see a
> jaggy when zoomed-in since it is not a vector image anymore.
> I want to avoid the problem.
> Thanks.
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users

Posted on the users mailing list.