Closed zimeon closed 7 years ago
Fixed:
(py3) simeon@Cider ~> iiif_static.py --extra='/0,0,10,10/20,20/90/default.png' a.jpg
iiif_static.py: source file: a.jpg
iiif.static: Output directory /tmp/a already exists, adding/updating files
iiif.static: /tmp / a/0,0,512,512/512,/0/default.jpg
...
iiif.static: /tmp / a/full/1,1 -> a/full/1,
iiif.static: /tmp / a/0,0,10,10/20,20/90/default.png
iiif.static: /tmp / a/info.json
(py3) simeon@Cider ~> file /tmp/a/0,0,10,10/20,20/90/default.png
/tmp/a/0,0,10,10/20,20/90/default.png: PNG image data, 20 x 20, 8-bit/color RGB, non-interlaced
It would be nice to be able to generate specific thumbnails or other derivatives in addition to the normal set of static tiles. Should have syntax like:
For cases where
region
isfull
,size
isw,h
androtation
is 0 then thew,h
size should also be added tosizes
in theinfo.json
.