[Zope] a win for structured text

Tom Deprez Tom Deprez" <tom.deprez@uz.kuleuven.ac.be
Fri, 24 May 2002 18:42:25 +0200


Hi Jerome,

Did you made a certain interface to do it automatically? ie making of
thumbnails?

Thanks in advance

Regards,
Tom.
----- Original Message -----
From: "Jerome Alet" <alet@librelogiciel.com>
To: "Tom Deprez" <tom.deprez@uz.kuleuven.ac.be>
Cc: <zope@zope.org>
Sent: Friday, May 24, 2002 3:54 PM
Subject: Re: [Zope] a win for structured text


> On Fri, May 24, 2002 at 03:32:47PM +0200, Tom Deprez wrote:
> >
> > I've to look at this, but the problem is that not all the images have
the
> > same size...
> > some are really big and other less (depending on the resolution of the
> > radiographic image)
> > and to make the document still readable and the images still visible,
the
> > radiologist still
> > has to give an image width and height
>
> use ImageMagick's mogrify command and its -geometry argument, e.g.:
>
> $ cp image.jpeg thumbnail.jpeg
> $ mogrify -format jpeg -quality 75 -geometry "150>x150>" thumbnail.jpeg
>
> this will produce a thumbnail in lower quality and which will be at most
> 150x150 pixels. ImageMagick is really good at that, see
>
> http://anocef.unice.fr/atlasneuro/
>
> which was created this way (static site entirely generated from
> a well formatted text document and a bunch of high quality pictures)
>
> NB : this site was made with Pr. J.M. Brucher from your own university ;-)
>
> bye,
>
> Jerome Alet