[greenstone-users] How to extract metadata from Summary of a JPEGimage

From Belanger, Arthur
DateSat Nov 6 03:55:31 2010
Subject [greenstone-users] How to extract metadata from Summary of a JPEGimage
In-Reply-To (003e01cb7d01$614fcc50$a634bfcb-nasati3970a971)
Hi.

I am using 2.80 of Greenstone on Linux and the ImagePlugin does not extract embedded metadata from a JPEG file. The plugin uses ImageMagick's identify program to extract the image type, width, height and size from the image but it does not extract any other metadata. You would have to modify the identify subroutine in the plugin code to extract any other information from the image in addition to the type, width, height and size.

In version 2.83, the identify subroutine in not in ImagePlugin.pm but it is in ImageConverter.pm. It also only extracts the type, width, height and size. It too could be modifies to extract more information.

--
Arthur Belanger
Medical Library System Manager
ITS Academic Media & Technology
Yale University
PO Box 208065
New Haven, CT 06520-8065

(203) 785-6928
(203) 785-5636, fax

mailto:Arthur.Belanger@Yale.Edu
http://www.yale.edu/its/about/amt
http://info.med.yale.edu/library


NOTE: Yale ITS will NEVER request passwords or other personal information via email. Messages requesting such information are fraudulent and should be deleted.

________________________________
From: greenstone-users-bounces@list.scms.waikato.ac.nz [mailto:greenstone-users-bounces@list.scms.waikato.ac.nz] On Behalf Of Cao MInh Kiem
Sent: Friday, November 05, 2010 11:52 AM
To: Katherine Don; greenstone-users@list.scms.waikato.ac.nz
Subject: [greenstone-users] How to extract metadata from Summary of a JPEG image

Dear List members,
I want to create an image collection which uses emberded metadata. I would like to know if ImagePlugin in GSDL could automatic extract metadata entered in Properties/Summary of a JPEG file? If it is possible, how to display them?
Thank you for help in advance.

Best regards

Cao Minh Kiem
Deputy Director General
National Agency for S&T Information
24 Ly Thuong Kiet str. Hoan Kiem Distr., HANOI, VIETNAM
Phone: +84-4-39349491; Fax: +84-4-39349127
Email: kiemcm@vista.gov.vn<mailto:kiemcm@vista.gov.vn>
----- Original Message -----
From: Katherine Don<mailto:kjdon@cs.waikato.ac.nz>
To: Cao MInh Kiem<mailto:kiemcm@vista.gov.vn>
Cc: greenstone-users@list.scms.waikato.ac.nz<mailto:greenstone-users@list.scms.waikato.ac.nz>
Sent: Monday, September 27, 2010 8:02 PM
Subject: Re: [greenstone-users] Ask for help in creating image collection

Hi

For classifiers, you need to use {If}{[numleafdocs],,}
numleafdocs is something you can test to see if you are a bookshelf. For example,
{If}{[numleafdocs],[link][icon][/link]}
This will put a link for a bookshelf, but not for a document.

Regards,
katherine
Cao MInh Kiem wrote:
Thank you for help,
This works well when you use the browse by titles.
But I have other problem. If I use Hierachy classifiers for browing (for examle with dc.Creator of dc.Subject), the links of the Creator name or Subject are gone?. And because of this we can not go further.
How could we solve this issue?
Thank you.

----- Original Message -----
From: Katherine Don<mailto:kjdon@cs.waikato.ac.nz>
To: Cao Minh Kiem<mailto:kiemcm@vista.gov.vn>
Cc: greenstone-users@list.scms.waikato.ac.nz<mailto:greenstone-users@list.scms.waikato.ac.nz>
Sent: Monday, September 27, 2010 4:36 PM
Subject: Re: [greenstone-users] Ask for help in creating image collection

Hi

In a VList format statement (searchvlist, cl1vlist etc), [link][icon][/link] links to the greenstone version of the document.
You can remove this link by removing that bit from the format statement.

What [link] links to, the greenstone version, is defined by the DocumentText format statement. This defaults to [Text] I think.
You can change what is displayed on this page by changing the format statement. For images, obviously Text is not useful.
You can choose to display metadata, eg [Title], or the original image [srcicon], or thumbnail, screen view sized version if those have been generated [thumbicon] or [screenicon]. Or any combination of these images and /or metadata.

You modify the format statements in GLI in Format->Format Features.

Regards,
Katherine

Cao Minh Kiem wrote:
Dear Greenstone users,
I use GSDL software to create an imange collection. I could add metadata to each image by using GLI. Every thing seems OK. But when viewing the collection, I saw a document icon next to image thumbnail. When clicking on the document icon, we received message: This document has no text. I have two question:
1. How could we add text to this document if we want to?
2. If we could not add text to this document, how could we hide this document icon (because the users may want to look at them, and if they are empty, ...)?
Thank you for you help.
Regards

Cao Minh Kiem
National Agency for S&T Information
Hanoi,Vietnam

________________________________


_______________________________________________

greenstone-users mailing list

greenstone-users@list.scms.waikato.ac.nz<mailto:greenstone-users@list.scms.waikato.ac.nz>

https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20101105/6d4d6d1a/attachment-0001.html