Thanks Klaus this does the trick :-) I think the recipe script "getting the dimensions of a picture file", in the documentation should be re-written to use this method. martin >... >put the formattedwidth of last image into xwide >put the formattedheight of last image into hhigh >...