RE: Adding images (JPG and GIF's) to a Greenstone collection inst alled on a Windows 2000 server

From Gordon Paynter
DateSat, 15 Feb 2003 12:41:44 -0800 (PST)
Subject RE: Adding images (JPG and GIF's) to a Greenstone collection inst alled on a Windows 2000 server
In-Reply-To (968E8665DCE14845BF5037C10A316FE401A153C7-prv-mail-pn-buffalo-edu)
> : Can you point us to some examples of metadata.xml files that we
> can use as templates. We currently have Greenstone installed on a
> development server here at UB and are trying to use it to setup a
> digital collection for a museum.

I have an example with a quick explanation posted at:

http://tuatara.ucr.edu/~paynter/transfer/Greenstone/


> http://savage.net.au/ImageMagick/html/install-convert.html
>
> It looks like the 'convert' program will convert jpg and gif formats
> to png format. Is that the desired format to add images to a collection
> in Greenstone Windows?

The convert program can convert from almost and graphics file format to
almost any other graphics file format, including GIF, JPG, PNG, and dozens
of others.

However, by default, Greenstone's ImagePlug imports your images in
whatever format they are currently in (without conversion). It uses
convert to create "thumbnail" and "screenview" versions of the images.

(The thumbnail is a 100x100 pixel GIF image, and the screenview a but you
can specify other sizes and types with the -thumbnailsize and
-thumbnailtype options; the optional "screenview" image can be created as
any type with the -screenviewsize and -screenviewtype options. If you
want ImagePlug to convert all your images to ythe same format, you can use
the -convertto option (e.g. -convertto jpg) but this is an option, not a
requirement.)


Regarding your collect.cfg file, you need to get rid of the unnecessary
plugins, especially HTMLPlug (which blocks images), and add options to
some others. Take a look at the plugins in

http://tuatara.ucr.edu/~paynter/transfer/Greenstone/etc/collect.cfg

for an example.


HTH,
Gordon


PS: to find out all the plugin options at the windows command line, you
can include the setup.bat file (see the manual for instructions) then run
"perl pluginfo.pl ImagePlug".