[racket] Thumbnailing

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Oct 7 10:03:46 EDT 2011

An hour and a half ago, Paulo J. Matos wrote:
> On 06/10/11 19:21, Eli Barzilay wrote:
> >
> > Dealing with exif information is something completely different
> > from what a gui system is supposed to do.
> I understand that. However, my use of this image for thumbnailing is
> on a project which does image manipulation on the command line so it
> would be interesting if, when creating the thumbnail, the exif would
> be kept, and then I would just update the size using ffi to exif
> lib. On the other hand, once the exif lib bindings are finished I
> can copy them to the thumb anyway.
> > It's probably best to use something like imagemagick if you need
> > that.  (There's an old glue in the ffi examples directory, maybe
> > someone will update it?)
> Yes, using the bindings to imagemagick sounds like a neat idea.

If you need some command-line tool, then a possibly quicker
alternative to the ffi is to just construct command-line uses of
imagemagick.  It has a very sophisticated syntax for such things that
makes it possible to do sophisticated scripting jobs.

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the users mailing list.