[Zope] a win for structured text

Jerome Alet alet@librelogiciel.com
Fri, 24 May 2002 15:54:09 +0200


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