VAST Platform EXIF reader
Report a defect
|
Request feature
A VAST Platform project to read and parse EXIF metadata from images, like JPGs.
- The code is licensed under MIT.
- The documentation is licensed under CC BY-SA 4.0.
- Install VA Smalltalk 10.0.0 or newer.
- Install Tonel support in your development image following this guide.
- Clone this repository.
- The easiest and recommended approach is to install it via a script:
| loader path |
path := (CfsPath named: '<insert path to root exif-reader local repo here>').
loader := TonelLoader readFromPath: path.
loader
beUnattended; "do not prompt and use all defaults"
useGitVersion.
loader loadAllMapsWithRequiredMaps.
Or you can load the Configuration Map SoS
from the context menu of the Configuration Maps Browser: "Import"
-> "Load Configuration Maps from Tonel repository..."
-> select path to root exif-reader
local repo. This will open a dialog and will use convenient defaults for the load. Refer to its documentation for more details.
- exif-useage.pdf - PDF manual contains instructions for installing and running the code
- tags.csv - must be in the root directory of the program and contains the list of all valid exif tags and their data
- testimage.jpg - a valid JPEG file used from within the comments of the class methods used.
- Ensure that the two files: tags.csv and testimage.jpg are in the root directory
- Go to the Application
SoSExifReaderApp
and selectSoSExifReader
in the Parts list and open it. - Go to the Class method list and open
parseAFileCalled: aFileName
- Highlight
SoSExifReader parseAFileCalled: 'testimage.jpg'
and inspect (Control-Q). You should have a list of the tags and their contents in the Transcript and an inspect on a dictionary containing each page in the image.
The documentation is in the exif-usage.pdf.