greenstone@cs.waikato.ac.nztrue Это основная коллекция изображений, которая не содержит никакого текста и никаких явных метаданных. Несколько JPEG-файлов помещены в директорию импорта до импортирования и построения коллекции. И это все. <p> <!-- _text1_ --> The images in this collection have been produced by members of the Department of Computer Science, University of Waikato. The University of Waikato holds copyright. They may be distributed freely, without any restrictions. <h3>Как работает коллекция</h3> <p> <a href="?a=d&d=_sampleoid_">Здесь</a> представлен типовой документ коллекции. <a href="_httpcollection_/etc/collect.cfg" target=collect.cfg>Конфигурационный файл</a> не определяет никаких индексов, так что кнопка поиска подавлена. <p> Имеется только один плагин <i>ImagePlugin</i>, помимо 4, которые присутствуют всегда (<i>GreenstoneXMLPlugin</i>, <i>MetadataXMLPlugin</i>, <i>ArchivesInfPlugin</i>, <i>DirectoryPlugin</i>). <i>ImagePlugin</i> полагается на существование двух программ из набора ImageMagick (<a href="http://www.imagemagick.org">http://www.imagemagick.org</a>) - <i>convert</i> и <i>identify</i>. Greenstone не сможет строить коллекции правильно, если ImageMagick не установлен на вашем компьютере. <p> <i>ImagePlugin</i> автоматически генерирует следующие метаданные для каждого изображения в коллекции: <p> <blockquote> <table border=0 cellspacing=0> <tr> <td width=125 valign=top><i>Image</i></td> <td> Имя файла, содержащего изображение </td></tr> <tr><td valign=top><i>ImageWidth</i></td> <td> Ширина изображения (в пикселах) </td></tr> <tr><td valign=top><i>ImageHeight</i></td> <td> Высота изображения (в пикселах) </td></tr> <tr><td valign=top><i>Thumb</i></td> <td> Имя файла формата обмена графическим данными, содержащего уменьшенное изображение </td></tr> <tr><td valign=top><i>ThumbWidth</i></td> <td> Ширина уменьшенного изображения (в пикселах) </td></tr> <tr><td valign=top><i>ThumbHeight</i></td> <td> Высота уменьшенного изображения (в пикселах) </td></tr> <tr><td valign=top><i>Thumbicon</i></td> <td> Полное описание пути к уменьшенному изображению </td></tr> <tr><td valign=top><i>assocfilepath</i></td> <td> Имя пути к поддиректории изображений в директории коллекции <i>assoc</i> </td></tr></table> </blockquote> <p> Изображение сохранится как «связанный файл» в поддиректории <i>assoc</i> директории коллекции <i>index</i>. Index -- это директория, куда все файлы, необходимые для обслуживания коллекции, помещены, чтобы она была автономной. Директория <i>httpassocdir</i>, которая является той же самой, что и <i>&#095httpcollection&#095/index/assoc</i>, обращается к этой директории. Для любого документа уменьшенное и полное изображение находятся в поддиректории, имя которой определяется <i>assocfilepath</i>. Метаданные элемента <i>thumbicon</i> дают полное описание пути к уменьшенному изображению и могут использоваться тем же самым образом, что и <i>srcicon</i> (см. демонстрационные коллекции MS Word и PDF). <p> Второй оператор формата в конфигурационном файле, <i>DocumentText</i>, определяет, как элемент появляется, и <a href="?a=d&d=_sampleoid_">этот пример</a> является результатом. Текст документа отсутствует (если бы он был, то он бы производился [Текстом] [Text]. То, что показано, является непосредственно изображением вместе с некоторыми метаданными, извлеченными из него. <p> Конфигурационный файл определяет один классификатор -- <i>List</i>, основанный на метаданных <i>Image</i>, который показан <a href="?a=d&cl=CL1">здесь</a>. Оператор формата показывает уменьшенное изображение вместе с некоторыми метаданными (любые другие классификаторы имели бы тот же самый формат, так как этот оператор не называет классификатор). <p> Вы можете спросить, почему уменьшенное изображение генерируется и сохраняется явно, когда тот же самый эффект мог бы быть получен при использовании оригинального изображения и масштабировании его: <br> <pre> &lt;td&gt;[link]&lt;img src='_httpassocdir_/[assocfilepath] /[Image]' width=[ThumbWidth] height=[ThumbHeight]&gt; [/link]&lt;\/td&gt;&lt;td valign=middle&gt;&lt;i&gt;[Title]&lt;\/i&gt;&lt;\/td&gt; </pre> Причина состоит в том, чтобы сохранить полосу пропускания связи, не посылая большие изображения, когда маленькие делают то же. <p> Более исчерпывающую коллекцию изображений смотрите в <a href="http://www.nzdl.org/cgi-bin/library?a=p&sa=about&c=aircraft">kiwi aircraft images</a> в Новозеландской Цифровой Библиотеке. Структура этой коллекции весьма отличается, поскольку это и коллекция Web-страниц, которая включает много изображений наряду с текстом. Плагин <i>HTMLPlugin</i> также обрабатывает файлы изображений, но делает это так другим способом, чем ImagePlugin (нпример, он не генерирует метаданные, описанные выше). <p> This is a basic image collection that contains no text and no explicit metadata. Several JPEG files are placed in the import directory prior to importing and building the collection, that's all. <p> The images in this collection have been produced by members of the Department of Computer Science, University of Waikato. The University of Waikato holds copyright. They may be distributed freely, without any restrictions. <h3>How the collection works</h3> <p> <a href="?a=d&d=_sampleoid_">Here</a> is a sample document in the collection. The <a href="_httpcollection_/etc/collect.cfg" target=collect.cfg> configuration file</a> specifies no indexes, so the search button is suppressed. <p> There is only one plugin, <i>ImagePlugin</i>, aside from the four that are always present (<i>GreenstoneXMLPlugin</i>, <i>MetadataXMLPlugin</i>, <i>ArchivesInfPlugin</i>, <i>DirectoryPlugin</i>). <i>ImagePlugin</i> relies on the existence of two programs from the ImageMagick suite (<a href="http://www.imagemagick.org">http://www.imagemagick.org</a>): <i>convert</i> and <i>identify</i>. Greenstone will not be able to build the collection correctly unless ImageMagick is installed on your computer. <p> <i>ImagePlugin</i> automatically creates a thumbnail and generates the following metadata for each image in the collection: <blockquote> <table border=0 cellspacing=0> <tr><td width=125 valign=top><i>Image</i></td><td>Name of file containing the image <tr> <tr><td valign=top><i>ImageWidth</i></td><td>Width of image (in pixels) <tr> <tr><td valign=top><i>ImageHeight</i></td><td>Height of image (in pixels) <tr> <tr><td valign=top><i>Thumb</i></td><td> Name of gif file containing thumbnail of image <tr> <tr><td valign=top><i>ThumbWidth</i></td><td>Width of thumbnail image (in pixels) <tr> <tr><td valign=top><i>ThumbHeight</i></td><td>Height of thumbnail image (in pixels) <tr> <tr><td valign=top><i>thumbicon</i></td><td>Full pathname specification of thumbnail image <tr> <tr><td valign=top><i>assocfilepath</i></td><td>Pathname of image directory in the collection's <i>assoc</i> directory <tr> </table> </blockquote> <p> The image is stored as an "associated file" in the <i>assoc</i> subdirectory of the collection's <i>index</i> directory. (<i>Index</i> is where all files necessary to serve the collection are placed, to make it self-contained.) The pathname &#095;<i>httpassocdir</i>&#095;, which is the same as &#095;<i>httpcollection</i>&#095;<i>/index/assoc</i>, refers to this directory. For any document, its thumbnail and image are both in a subdirectory whose filename is given by <i>assocfilepath</i>. The metadata element <i>thumbicon</i> is set to the full pathname specification of the thumbnail image, and can be used in the same way as <i>srcicon</i> (see the MSWord and PDF demonstration collection). <p> The second format statement in the <a href="_httpcollection_/etc/collect.cfg" target=collect.cfg>configuration file</a>, <i>DocumentText</i>, dictates how the document will appear, and <a href="?a=d&d=_sampleoid_">this</a> is the result. There is no document text (if there were, it would be producible by [<i>Text</i>]). What is shown is the image itself, along with some metadata extracted from it. <p> The configuration file specifies one classifier, a <i>List</i> based on <i>Image</i> metadata, shown <a href="?a=d&cl=CL1">here</a>. The format statement shows the thumbnail image along with some metadata. (Any other classifiers would have the same format, since this statement does not name the classifier.) <p> You may wonder why the thumbnail image is generated and stored explicitly, when the same effect would be obtained by using the original image and scaling it: <pre> &lt;td&gt;[link]&lt;img src='_httpassocdir_/[assocfilepath] /[Image]' width=[ThumbWidth] height=[ThumbHeight]&gt; [/link]&lt;\/td&gt;&lt;td valign=middle&gt;&lt;i&gt;[Title]&lt;\/i&gt;&lt;\/td&gt; </pre> <p> The reason is to save communication bandwidth by not sending large images when small ones would do. <p>For a more comprehensive image collection, see the <a href="http://www.nzdl.org/cgi-bin/library?a=p&sa=about&c=aircraft">kiwi aircraft images</a> in the New Zealand Digital Library. The structure of this collection is quite different, however: it is a collection of web pages that include many images along with the text. The HTML plugin <i>HTMLPlugin</i> also processes image files, but it does so in a different way from ImagePlugin (for example, it does not produce the metadata described above). C'est une collection d'images de base qui ne contient ni texte ni méta-donnée explicite. Plusieurs fichiers JPEG sont placés dans dans le répertoire "import" avant toute importation et toute création de la collection. C'est tout. <p> Les images de cette collection ont été produites par des membres du Department of Computer Science, de l'Université de Waikato. L'Université de Waikato en détient le copyright. Elles peuvent être distribuées librement, sans aucune restriction. <h3>Comment fonctionne cette collection ?</h3> <p> <a href="?a=d&d=_sampleoid_">Voici</a> un document test dans la collection. Le <a href="_httpcollection_/etc/collect.cfg" target=collect.cfg> fichier de configuration</a> ne spécifie aucun index, ainsi le bouton de recherche est supprimé. <p> Il n'y a qu'un seul plugin, <i>ImagePlugin</i>, à côté des quatre qui sont toujours présents (<i>GreenstoneXMLPlugin</i>, <i>MetadataXMLPlugin</i>, <i>ArchivesInfPlugin</i>, <i>DirectoryPlugin</i>). <i>ImagePlugin</i> dépend de deux programmes de la suite ImageMagick (<a href="http://www.imagemagick.org">http://www.imagemagick.org</a>): <i>convert</i> et <i>identify</i>. Greenstone ne sera pas en mesure de créer la collection sans l'installation de ImageMagick sur votre ordinateur. <p> <i>ImagePlugin</i> crée automatiquement une vignette d'image et génère les méta-données suivantes pour chaque image dans la collection : <blockquote> <table border=0 cellspacing=0> <tr><td width=125 valign=top><i>Image</i></td><td>Nom de fichier contenant l'image<tr> <tr><td valign=top><i>ImageWidth</i></td><td>Largeur de l'image(en pixels)<tr> <tr><td valign=top><i>ImageHeight</i></td><td>Hauteur de l'image(en pixels)<tr> <tr><td valign=top><i>Thumb</i></td><td>Nom de fichier gif contenant la vignette de l'image<tr> <tr><td valign=top><i>ThumbWidth</i></td><td>Largeur de la vignette d'image (en pixels)<tr> <tr><td valign=top><i>ThumbHeight</i></td><td>Hauteur de la vignette d'image (en pixels)<tr> <tr><td valign=top><i>Thumbicon</i></td><td>Spécification entière du chemin de la vignette d'image <tr> <tr><td valign=top><i>assocfilepath</i></td><td>Chemin du répertoire de l'image dans le dossier <i>assoc</i> de la collection<tr> </table> </blockquote> <p> L'image est stockée en tant que "associated file" (fichier associé) du sous-répertoire <i>assoc</i> du répertoire <i>index</i> de la collection. (<i>Index</i> est le lieu de stockage de tous les fichiers nécessaires à la collection pour en assurer la consistance. Le chemin _<i>httpassocdir</i>_ qui est le même que _<i>httpcollection</i>_<i>/index/assoc</i> fait référence à ce répertoire. Pour tout document, la vignette et l'image sont tous les deux dans un sous répertoire dont le nom de fichier est donné par <i>assocfilepath</i>. L'élément de méta-donnée <i>thumbicon</i> est prend la valeur de du chemin complet de la vignette de l'image et peut être utilisé de la même façon que <i>srcicon</i> (voir la collection de démonstration MSWord et PDF). <p> La seconde déclaration de format dans le <a href="_httpcollection_/etc/collect.cfg" target=collect.cfg>fichier de configuration</a>, <i>DocumentText</i>, impose la manière dont le document est affiché; <a href="?a=d&d=_sampleoid_">voici</a> le résultat. Il n'existe aucun texte de document (si tel était le cas, il serait produit par <i>[Text]</i>). Ce qui est affiché est l'image elle-même, avec quelques méta-données qui en sont extraites. <p> Le fichier de configuration spécifie un classificateur, une <i>List</i> basée sur la méta-donnée <i>image</i>, comme indiqué <a href="?a=d&cl=CL1">ici</a>. La déclaration de format montre la vignette d'image avec quelques méta-données (Tous les autres classificateurs auraient le même format, dès lors que la déclaration ne fait mention d'aucun classificateur). <p> On peut se demander pourquoi la vignette d'image est produite et stockée explicitement alors que le même effet serait obtenu en utilisant l'image originale et en la dessinant à l'échelle: <pre> &lt;td&gt;[link]&lt;img src='_httpassocdir_/[assocfilepath] /[Image]' width=[ThumbWidth] height=[ThumbHeight]&gt; [/link]&lt;\/td&gt;&lt;td valign=middle&gt;&lt;i&gt;[Title]&lt;\/i&gt;&lt;\/td&gt; </pre> <p> La raison est que pour économiser de la bande passante, il est préférable d'envoyer des images de petite taille. <p> Pour une collection d'images plus complète, consulter <a href="http://www.nzdl.org/cgi-bin/library?a=p&sa=about&c=aircraft">Kiwi aircraft images</a> dans la bibliothèque numérique de Nouvelle Zélande. La structure de cette collection est cependant tout à fait différente : c'est une collection de pages web qui comprennent beaucoup d'images avec du texte. Le plugin HTML, <i>HTMLPlugin</i> traite aussi des fichiers d'images mais de manière différente que ImagePlugin (par exemple, il ne produit pas la méta-donnée décrite ci-dessus). Esta es una colección básica de imágenes sin texto ni ningún metadato explícito. Varios archivos JPEG se colocan en un directorio específico antes de importar y construir la colección. Eso es todo. <p> Las imágenes en esta colección han sido producidas por miembros del Departamento de Ciencias de la Computación, de la Universidad de Waikato. La Universidad de Waikato tiene el copyright. Ellas pueden distribuirse libremente, sin ninguna restricción. <h3>Cómo trabaja esta colección</h3> <p> Se puede <a href="?a=d&d=_sampleoid_">ver aquí</a> un documento de muestra de la colección. El <a href="_httpcollection_/etc/collect.cfg" target=collect.cfg>archivo de configuración</a> no especifica ningún índice, por lo que el botón de búsqueda se suprime. <p> Sólo hay un plugin, <i>ImagePlugin</i>, además de los cuatro que siempre están presentes (<i>GreenstoneXMLPlugin, MetadataXMLPlugin, ArchivesInfPlugin, DirectoryPlugin</i>). <i>ImagePlugin</i> se basa en la existencia de dos programas del paquete de software ImageMagick (<a href="http://www.imagemagick.org">http://www.imagemagick.org</a>): <i>convert</i> e <i>identify</i>. Greenstone no podrá construir correctamente la colección a menos que ImageMagick esté instalado en su computadora. <p> <i>ImagePlugin</i> crea automáticamente una miniatura de la imagen y genera los siguientes metadatos para cada imagen de la colección: <p> <blockquote> <table border=0 cellspacing=0> <tr><td width=125 valign=top><i>Image</i></td><td> Nombre del archivo que contiene la imagen. <tr> <tr><td valign=top><i>ImageWidth</i></td><td> Ancho de la imagen (en pixeles). <tr> <tr><td valign=top><i>ImageHeight</i></td><td> Altura de la imagen (en pixeles). <tr> <tr><td valign=top><i>Thumb</i></td><td> Nombre del archivo gif que contiene la miniatura de la imagen. <tr> <tr><td valign=top><i>ThumbWidth</i></td><td> Ancho de la imagen reducida (en pixeles). <tr> <tr><td valign=top><i>ThumbHeight</i></td><td> Altura de la imagen reducida (en pixeles). <tr> <tr><td valign=top><i>thumbicon</i></td><td> Especificación del nombre de la ruta de acceso completo de la imagen reducida. <tr> <tr><td valign=top><i>assocfilepath</i></td><td> Nombre de la ruta de acceso del directorio de imágenes en el directorio asociado de la colección. <tr> </table> </blockquote> <p> La imagen se guarda como "archivo asociado" en el subdirectorio <i>assoc</i> del directorio <i>index</i> de la colección. (<i>Index</i> es el lugar donde todos los archivos necesarios para la colección se colocan con el fin de hacerla autocontenida.) El nombre de la ruta de acceso <i>_httpassocdir_</i> es el mismo que <i>_httpcollection_/index/assoc</i> y remite a este directorio. Para cualquier documento tanto la miniatura como la imagen están en un subdirectorio cuyo nombre de archivo es dado por <i>assocfilepath</i>. El elemento de metadato <i>thumbicon</i> tiene como valor la ruta completa a la imagen miniatura y puede usarse de la misma manera que <i>srcicon</i> (véase la colección de muestra en MSWord y PDF). <p> El segundo enunciado de formato en el <a href="_httpcollection_/etc/collect.cfg" target=collect.cfg>archivo de configuración</a>, <i>DocumentText</i>, dicta la forma en que aparecerá el documento. <a href="?a=d&d=_sampleoid_">Éste</a> es el resultado. No hay texto (en caso de que hubiera, se podría producir por medio de [<i>Text</i>]). Lo que se muestra es la imagen junto con algunos metadatos extraídos de ella. <p> El archivo de configuración especifica un clasificador, <i>List</i>, basado en el metadato <i>Image</i>, tal como se muestra <a href="?a=d&cl=CL1">aquí</a>. La cadena de formateo muestra la imagen reducida junto con algunos metadatos. (Cualquier otro clasificador tendría el mismo formato, ya que esta cadena no especifica a ningún clasificador en particular.) <p> Tal vez se preguntará por qué se genera y guarda la imagen reducida de manera explícita, cuando se podría obtener el mismo efecto usando la imagen original y escalándola: <p> <pre> &lt;td&gt;[link]&lt;img src='_httpassocdir_/[assocfilepath] /[Image]' width=[ThumbWidth] height=[ThumbHeight]&gt; [/link]&lt;\/td&gt;&lt;td valign=middle&gt;&lt;i&gt;[Title]&lt;\/i&gt;&lt;\/td&gt; </pre> <p> La razón es que de esta manera se ahorra ancho de banda en la comunicación al no enviar imágenes de gran tamaño cuando se pueden enviar pequeñas. <p> Para conocer una colección de imágenes más completa, consulte la <a href="http://www.nzdl.org/cgi-bin/library?a=p&sa=about&c=aircraft">kiwi aircraft images</a> de la Biblioteca Digital de Nueva Zelanda. Sin embargo, la estructura de esta colección es muy diferente. Se trata de una colección de páginas Web que incluye muchas imágenes junto con el texto. El plugin <i>HTMLPlugin</i> también procesa archivos de imágenes, pero lo hace de manera diferente a ImagePlugin (por ejemplo, no produce los metadatos descritos arriba). <p> 这是一个基本的图片馆藏,不包含任何文本以及附属元数据。在导入构建馆藏之前,在import目录中存在几个JPEG文件,就这些。 <p>本馆藏中的图片由怀卡托大学计算机系的成员拍摄提供。怀卡托大学拥有这些文件的版权。这些文件可自由发布,没有任何限制。 <h3>本馆藏如何工作</h3> <p><a href="?a=d&d=_sampleoid_">这里</a>是本馆藏中的一个文档示范。<a href="_httpcollection_/etc/collect.cfg" target=collect.cfg>配置文件</a>中没有指定索引,因此没有搜索按钮。 <p>本馆藏只有一个插件,<i>ImagePlugin</i>,以及永远配置好的四个标准插件(<i>GreenstoneXMLPlugin</i>,<i>MetadataXMLPlugin</i>,<i>ArchivesInfPlugin</i>,<i>DirectoryPlugin</i>)。<i>ImagePlugin</i>依赖于两个源自ImageMagick的外部软件(<a href="http://www.imagemagick.org">http://www.imagemagick.org</a>):<i>convert</i>和<i>identify</i>。如果ImageMagick没有被正常安装,Greenstone将不能正常构建馆藏。 <p><i>ImagePlugin</i>自动创建一个缩图并为每个图片创建以下元数据: <blockquote> <table border=0 cellspacing=0> <tr><td width=125 valign=top><i>Image</i></td><td>包含图片的文件名 <tr> <tr><td valign=top><i>ImageWidth</i></td><td>图片宽度(以像素为单位)<tr> <tr><td valign=top><i>ImageHeight</i></td><td>图片高度(以像素为单位)<tr> <tr><td valign=top><i>Thumb</i></td><td>包含图片缩图的gif文件名<tr> <tr><td valign=top><i>ThumbWidth</i></td><td>缩图宽度(以像素为单位)<tr> <tr><td valign=top><i>ThumbHeight</i></td><td>缩图宽度(以像素为单位)<tr> <tr><td valign=top><i>thumbicon</i></td><td>缩图的完整路径<tr> <tr><td valign=top><i>assocfilepath</i></td><td>馆藏中<i>assoc</i>目录的中的image目录路径<tr> </table> </blockquote> <p>这个图片将以"associated file"(附属文件)的形式存储在<i>index</i>目录的<i>assoc</i>子目录中。(<i>Index</i>目录包含了馆藏所有的所有文件,以便让其包含完整的信息。)路径名&#095;<i>httpassocdir</i>&#095;,等同于&#095;<i>httpcollection</i>&#095;<i>/index/assoc</i>,都指向这个目录。对于任一文档,其缩图与图片都将保存在一个子目录中,该子目录的文件名由<i>assocfilepath</i>指定。元数据元素<i>thumbicon</i>被设为缩图图片的完整路径名,并可按用<i>srcicon</i>的方式使用(参见微软Word与PDF演示馆藏)。 <p><a href="_httpcollection_/etc/collect.cfg" target=collect.cfg>配置文件</a>中的第二个格式化参数,<i>DocumentText</i>,指定如何显示文档,如<a href="?a=d&d=_sampleoid_">这里</a>所示。这里没有任何文本(如果有的话,文本将由[<i>Text</i>]提供)。这里显示的只是图片本身,以及一些从中抽取出的元数据。 <p>配置文件指定了一个分类器,一个基于<i>图片</i>元数据的<i>List</i>,如<a href="?a=d&cl=CL1">这里</a>所示。格式化参数显示缩图以及一些元数据。(所有分类器的格式都是相同的,因为这个格式参数并没有指定分类器名。) <p>你可能想问通过缩放原图即可得到效果的情况下,为什么还要特别的生成和存储缩图: <pre> &lt;td&gt;[link]&lt;img src='_httpassocdir_/[assocfilepath] /[Image]' width=[ThumbWidth] height=[ThumbHeight]&gt; [/link]&lt;\/td&gt;&lt;td valign=middle&gt;&lt;i&gt;[Title]&lt;\/i&gt;&lt;\/td&gt; </pre> <p>原因是为了节省带宽,即在可以发送小图片的情况小,不发送大的图片。 <p>更复杂的图片馆藏可参见新西兰数字图书馆中的<a href="http://www.nzdl.org/cgi-bin/library?a=p&sa=about&c=aircraft">kiwi aircraft images</a>馆藏。然而,这个馆藏的结构有很大差别:它包含了许多附带文本的图片。HTML插件<i>HTMLPlugin</i>也可处理图片文件,但是其处理方式有别于ImagePlugin(比如它不会生成上述这些元数据)。 Простая коллекция изображенийSimple image collectionCollection d'images simpleColección simple de imágenes简单图片馆藏РазмерSizeTailleTamaño大小ВысотаHeightHauteurAltura高度ШиринаWidthLargeurAncho宽度Имя изображенияImage NameNom d'imageTítulo de la imagen图片名D2 :
:
:
:
:
:
:
:
:
:
:
: