[1.0.0b18] - 2019-09-06
Changed:
-m/--metsis not required anymore, #301ocrd workspace prune-files: Throw on error removing non-existant file-p/--parameterargument accepts raw JSON as well now, #239
Fixed:
- OcrdFile: Default fileGrp to
TEMP - OcrdFile: Accept url constructor arg
- Workspace: Simplify file download code, add extensions to files
- Processor:
chdirto workspace directory on init so relative files resolve properly - typos in docstrings
- README: 'module' -> 'package'
- workspace.image_from_page: logic with rotation/angle
- Adapted test suite to OCR-D/assets now with file extensions
Added:
- utils:
MIME_TO_EXTto map mime types to preferred extension - Validation of imageHeight/imageWidth in PAGE vs. actual image height/width, #229