Hi Robert
> Even better if I could point the function at a directory, it finds all of
the images in it, and creates the data structure for me. Any ideas?
You can get the files in a directory using *directory-list *and filter for
the image files using a regex.
(for ([f (directory-list "/some/path
More specifically, I'm trying to do what I talk about here. Can I do this
in Racket? https://twitter.com/RobertHaisfield/status/1392272268022095872
On Tuesday, May 11, 2021 at 4:42:43 PM UTC-6 Robert Haisfield wrote:
> Okay, so I figured out how to do what I want on individual photos using
> bi
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.
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
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
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 spe
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):
This might be it.
> 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 y
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 prob
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
At Mon, 10 May 2021 17:16:53 -0700 (PDT), Don Green wrote:
> From Racket doc: "File permissions are transferred from src to dest; on
> Windows, the modification time of src is also transferred to dest."
>
> Is the above line meant to imply that a unix/linux version of Racket will
> NOT preserve
11 matches
Mail list logo