- Timestamp:
- 2004-05-20T09:24:38+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/PagedImgPlug.pm
r7337 r7352 28 28 # processes sequences of images, with optional OCR text 29 29 # 30 # This plugin takes .item files, which contain metadata and lists of image30 # This plugin takes *.item files, which contain metadata and lists of image 31 31 # files, and produces a document containing sections, one for each page. 32 # 33 # The format of the .item file is as follows: 32 # The files should be named something.item, then you can have more than one 33 # book in a directory. You will need to create these files, one for each 34 # document/book. 35 # 36 # The format of the xxx.item file is as follows: 34 37 # The first lines contain any metadata for the whole document 35 38 # <metadata-name>metadata-value … … 38 41 # <Date>19230102 39 42 # Then comes a list of pages, one page per line, each line has the format 43 # 40 44 # pagenum:imagefile:textfile:r 45 # 41 46 # page num and imagefile are required. pagenum is used for the Title 42 47 # of the section, and in the display is shown as page <pagenum>. … … 63 68 # 64 69 # format DocumentText "<center><table width=_pagewidth_><tr><td>[srcicon]</td></tr></table></center>" 70 # 71 # To have it create thumbnail size images, use the '-thumbnail' option. 72 # To have it create medium size images for display, use the '-screenview' 73 # option. As usual, running 74 # 'perl -S pluginfo.pl PagedImgPlug' will list all the options. 75 76 # If you want the resulting documents to be presented with a table of 77 # contents, use '-documenttype hierarchy', otherwise they will have 78 # next and previous arrows, and a goto page X box. 65 79 66 80 # If you have used -screenview, you can also use [screenicon] in the format … … 71 85 # 72 86 # Additional metadata can be added into the .item files, alternatively you can 73 # use normal metadata.xml files, with the name of the .item file as the87 # use normal metadata.xml files, with the name of the xxx.item file as the 74 88 # FileName. 75 89
Note:
See TracChangeset
for help on using the changeset viewer.