|
| 1 | +--- |
| 2 | +title: 'Process media files' |
| 3 | +teaching: 10 |
| 4 | +exercises: 2 |
| 5 | +--- |
| 6 | + |
| 7 | +## Search for content |
| 8 | + |
| 9 | +Repositories on which you might find this, include: |
| 10 | + |
| 11 | +- [Journal of Digital History Journal](https://journalofdigitalhistory.org/) |
| 12 | +- [Science Group Museum](https://collection.sciencemuseumgroup.org.uk/) |
| 13 | +- [Europeana](https://www.europeana.eu/en) |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | +## Put on server |
| 18 | + |
| 19 | +Download all images, videos and 3D models you collected. |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | +Save them in a folder, check for file names - avoid spaces, weird characters, |
| 24 | +and use descriptive names. |
| 25 | + |
| 26 | +Images tend to have PNG or JPG (compressed format). If using IIIF we need |
| 27 | +a TIFF format which is an uncompressed way of storing the information |
| 28 | +of an image. |
| 29 | + |
| 30 | +Using GIMP or in the command line convert images to the extension TIF. |
| 31 | + |
| 32 | +```console |
| 33 | +foo@bar:~$ mogrify -format tif -path alltifs images/*.png images/*.jpeg |
| 34 | +``` |
| 35 | + |
| 36 | +This command in the console uses [ImageMagick](https://imagemagick.org/index.php), |
| 37 | +where: |
| 38 | + |
| 39 | +- **images** is the folder where you have your images, |
| 40 | +- **alltifs** is the folder where you want to store your results |
| 41 | + |
| 42 | + |
| 43 | +## Creating a manifest: |
| 44 | + |
| 45 | +Two editors and follow instructions: |
| 46 | + |
| 47 | +- [https://training.iiif.io/iiif-online-workshop/day-three/bodleian-editor/](https://training.iiif.io/iiif-online-workshop/day-three/bodleian-editor/) |
| 48 | +- [https://manifest-editor.digirati.services/](https://manifest-editor.digirati.services/) |
| 49 | + |
| 50 | + |
| 51 | +Please note manifests can have more than one canvas if you want to add more than one image to the manifest. |
| 52 | + |
| 53 | + |
| 54 | +Save the file using a recognisable name, such as: |
| 55 | + |
| 56 | +*[nameofmyimage]-manifest.json* |
| 57 | + |
| 58 | +in your html folder, you should be able to access it. |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | +::::::::::::::::::::::::::::::::::::: challenge |
| 63 | + |
| 64 | +## Challenge: Create all manifests for your folder |
| 65 | + |
| 66 | +Copy an image into your same folder. |
| 67 | + |
| 68 | +Link the image from the main *index.html* page. |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
0 commit comments