Hi Robert,

There are some bindings for Magick in the example folder for the FFI
library.

https://github.com/racket/racket/tree/master/pkgs/racket-doc/ffi/examples

The bindings are in magic.rkt and examples of use are in use-magick.rkt
(see the bottom).

/Jens Axel


Den tir. 11. maj 2021 kl. 22.15 skrev 'John Clements' via Racket Users <
[email protected]>:

> Racket has the ability to read a variety of different image files. I would
> go first to 2htdp/image’s “bitmap/file” to read images. “save-image” can
> write images (but only as png files). I believe there are also an array of
> lower-level image manipulation functions that are likely to have a less
> friendly interface :).
>
> Apologies in advance for any misleading information I might be providing….
>
> John
>
> > On May 11, 2021, at 1:09 PM, Robert Haisfield <
> [email protected]> wrote:
> >
> > Alternatively, does the normal images function for Racket work? When I
> was looking through the documentation I saw a lot about creating shapes but
> not about using image files.
> >
> > On Tuesday, May 11, 2021 at 2:03:33 PM UTC-6 Robert Haisfield wrote:
> > Hmm does the video language work for image files? If so, then I think it
> might work.
> >
> > On Tuesday, May 11, 2021 at 9:03:35 AM UTC-6 Sage Gerard wrote:
> > I hope that has what Robert is looking for, but I don't recognize that
> speech. In fact, I have a false memory, because I'm not finding the speech
> I'm looking for on https://con.racket-lang.org/2018/#speakers
> >
> > On 5/11/21 10:19 AM, Bruce O'Neel wrote:
> >> This might be it.
> >>
> >> (seventh RacketCon): Leif Andersen -- Movies as Programs: The Story of
> a Racket - YouTube
> >>
> >>
> >>
> >>
> >>
> >> 11 May 2021 15:30 Sage Gerard <[email protected]> wrote:
> >> I don't know of one off hand, but I believe RacketCon 2018 (?) included
> a presenter that showed a PostScript-like DSL for designers and artists.
> If pict not cover your needs, maybe dig into the presentations?
> >>
> >> Failing that, can you show what you'd hope the syntax would look like?
> That would probably help point you in the right direction,
> >>
> >> On 5/11/21 9:26 AM, Robert Haisfield wrote:
> >>> I have to do a bunch of .jpg and .png image resizings and was looking
> for a programmatic way to do it. Is their a Racket DSL for this? --
> >>> You received this message because you are subscribed to the Google
> Groups "Racket Users" group.
> >>> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> >>> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/0d576c32-7d4d-4944-9cbc-c12f04406fccn%40googlegroups.com
> .
> >> -- ~slg --
> >> You received this message because you are subscribed to the Google
> Groups "Racket Users" group.
> >> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> >> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/6e3aacdc-015b-2484-3bee-0c08e3fb612d%40sagegerard.com
> .
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups "Racket Users" group.
> >> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> >> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/1620742795-01b81de5d6862fd390ec60605ee3bc9d%40pckswarms.ch
> .
> > --
> > ~slg
> >
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/b6a89a78-c92c-41c1-960a-49d64d8a5366n%40googlegroups.com
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/404c8fad-befc-4b01-8728-48ce9b912117%40mtasv.net
> .
>


-- 
-- 
Jens Axel Søgaard

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CABefVgwcGg867z5aEcSL2ub9sVci%3D08UtvNk%2BgRnGX_5WZd9mQ%40mail.gmail.com.

Reply via email to