The "file" command supports getting dimensions of some image types. Have you tried that yet? Pete -- Gllug mailing list - Gllug at gllug.org.uk http://lists.gllug.org.uk/mailman/listinfo/gllug