Re: [greenstone-users] Tiff to jpeg

From Katherine Don
DateThu, 08 Feb 2007 16:42:26 +1300
Subject Re: [greenstone-users] Tiff to jpeg
In-Reply-To (ADF6CFBF6F7B224BAD73E67A7F21EA3A019E0315-gimli-shire-nla-gov-au)
Hi Andrew

I have just looked at this and there is a bug in ImagePlug which means
that even if you have converttotype set, it won't do the conversion.

I have attached a modified ImagePlug.pm file - please save it to your
greenstone/perrlib/plugins directory, then rebuild the collection.
Are you using version 2.72? If you are using an earlier version, this
file may not work. In which case, let me know and I will tell you the
modifications to make.

Your images should be converted to jpegs.

However, Greenstone does not store the original Tiff file in the
collection - it will remian in the import directory, but will not be
stored as part of the built collection. This may not be what you want.
You could modify ImagePlug to store the original if you wanted.

Regards,
Katherine

Andrew Stawowczyk Long wrote:
> Tomas,
>
> Thanks for your response. I probably shall explain the problem in greater detail.
>
> I have some TIFF images that I am creating my test collection from. I set the ImagePlug to:
> -thumbnailtype jpg
> -screenviewtype jpg
> -converttotype jpg
>
> The result is jpeg thumbnails, which is fine, but they link to larger images that are tiffs, not jpegs as I would like them to be. I would like Greenstone to archive the original tiffs but also create jpeg derivatives for on-line viewing.
>
> Thanks
> Andrew
> _________________________
> Andrew Stawowczyk Long
> Manager
> Preservation Standards
> National Library of Australia
> Email: anlong@nla.gov.au
> Phone: +61 2 62621382
>
>
> -----Original Message-----
> From: Tom□□ Fiala [mailto:tomas.fiala@ulib.sk]
> Sent: Friday, 2 February 2007 6:18 PM
> To: Andrew Stawowczyk Long
> Cc: greenstone-users@list.scms.waikato.ac.nz
> Subject: Re: [greenstone-users] Tiff to jpeg
>
> Hello Andrew,
>
> I hope I understood your question right, when you process TIFF files, there is an option in ImagePlug THUMBNAILTYPE AND THUMBNAIL SIZE, switch it on and set file format to JPEG. These thumbnails will be automatically shown in your collection.
>
> Or just use IrfanView, before putting the files to Greenstone http://www.irfanview.com/
>
> Sincerely,
>
> Tom□□ Fiala
>
>
>
>
> Andrew Stawowczyk Long wrote / nap□sal(a):
>
>>Hi,
>>
>>I was aware of Greenstone for long time now but only recently started
>>looking at it in more detail. I couldn't find a clear answer to my
>>question anywhere and decided to post it here. Apologies if this is
>>something very obvious to everyone except myself.
>>
>>The problem is:
>>I would like Greenstone to create jpeg derivatives for on-line
>>delivery (and display them in the collection) from the original tiff
>>files. Is this possible?
>>I have Greystone and ImageMagick installed.
>>
>>Thanks
>>_________________________
>>Andrew Stawowczyk Long
>>Manager
>>Preservation Standards
>>National Library of Australia
>>Email: anlong@nla.gov.au
>>Phone: +61 2 62621382
>>
>>
>>
>>----------------------------------------------------------------------
>>--
>>
>>_______________________________________________
>>greenstone-users mailing list
>>greenstone-users@list.scms.waikato.ac.nz
>>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>
>
>
> --
> Department of digitization
> University library Bratislava
> http://www.ulib.sk
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users


<<attachment>>
Type: application/x-perl
Filename: ImagePlug.pm

download