Skip to content

Instantly share code, notes, and snippets.

@magoni
Last active August 29, 2015 14:20
Show Gist options
  • Save magoni/78733c94a1934a3a3895 to your computer and use it in GitHub Desktop.
Save magoni/78733c94a1934a3a3895 to your computer and use it in GitHub Desktop.
IIPImage IIIF region behavior
Full Request is IIIF=/srv/images/beromunster/bm_005.tif/2048,3072,885,1024/pct:25/0/color.jpg
[1/1]: Command / Argument is IIIF : /srv/images/beromunster/bm_005.tif/2048,3072,885,1024/pct:25/0/color.jpg
IIIF handler reached
IIIF :: URL decoded to /srv/images/beromunster/bm_005.tif/2048,3072,885,1024/pct:25/0/color.jpg
FIF handler reached
FIF :: URL decoding/filtering: /srv/images/beromunster/bm_005.tif => /srv/images/beromunster/bm_005.tif
FIF :: Image cache initialization
FIF :: TIFF image detected
FIF :: Created image
FIF :: Image dimensions are 2490 x 4089
FIF :: Image contains 3 channels with 8 bits per channel
FIF :: Image timestamp: Fri, 29 Aug 2014 17:40:51 GMT
FIF :: Total command time 10669 microseconds
IIIF :: Requested Region: x:2048, y:3072, w:885, h:1024
IIIF :: Requested Size: 111x254
IIIF :: Requested Rotation: 0 degrees
IIIF :: Requested Quality: color with format: jpg
IIIF :: image request for /srv/images/beromunster/bm_005.tif with arguments: region: 2048,3072,442,1017; size: 1
11x254; rotation: 0; mirroring: 0
CVT handler reached
CVT :: Using resolution 2 with size 622x1022
CVT :: Region: 512,768,110,254
CVT :: Requested scaled region size is 110x254 at resolution 2. Nearest existing resolution is 110x254
TileManager getRegion :: Total tiles in image: 3x4 tiles
TileManager getRegion :: Tile start: 2,3 with offset: 0,0
TileManager getRegion :: Tile end: 2,3
TileManager :: Cache Miss for resolution: 2, tile: 11
TileManager :: Cache Size: 0 tiles, 0 MB
TileManager :: Cropping tile
TileManager :: Edge tile: Base size: 256x256: This tile: 110x254
TileManager :: Tile cache insertion time: 45 microseconds
TileManager :: Total Tile Access Time: 2689 microseconds
TileManager getRegion :: Tile access time 2709 microseconds for tile 11 at resolution 2
TileManager getRegion :: destination tile width: 110, tile height: 254
CVT :: About to JPEG compress strip with height 128
CVT :: Compressed data strip length is 8450
CVT :: About to JPEG compress strip with height 126
CVT :: Compressed data strip length is 8059
CVT :: Total command time 6029 microseconds
IIIF :: Total command time 16917 microseconds
Memcached :: stored 16708 bytes in 294 microseconds
Total Request Time: 38882 microseconds
image closed and deleted
Server count is 1
Full Request is IIIF=/srv/images/beromunster/bm_005.tif/2048,3072,886,1024/pct:25/0/color.jpg
[1/1]: Command / Argument is IIIF : /srv/images/beromunster/bm_005.tif/2048,3072,886,1024/pct:25/0/color.jpg
IIIF handler reached
IIIF :: URL decoded to /srv/images/beromunster/bm_005.tif/2048,3072,886,1024/pct:25/0/color.jpg
FIF handler reached
FIF :: URL decoding/filtering: /srv/images/beromunster/bm_005.tif => /srv/images/beromunster/bm_005.tif
FIF :: Image cache initialization
FIF :: TIFF image detected
FIF :: Created image
FIF :: Image dimensions are 2490 x 4089
FIF :: Image contains 3 channels with 8 bits per channel
FIF :: Image timestamp: Fri, 29 Aug 2014 17:40:51 GMT
FIF :: Total command time 8113 microseconds
IIIF :: Requested Region: x:2048, y:3072, w:886, h:1024
IIIF :: Requested Size: 111x254
IIIF :: Requested Rotation: 0 degrees
IIIF :: Requested Quality: color with format: jpg
IIIF :: image request for /srv/images/beromunster/bm_005.tif with arguments: region: 2048,3072,442,1017; size: 1
11x254; rotation: 0; mirroring: 0
CVT handler reached
CVT :: Using resolution 1 with size 311x511
CVT :: Region: 256,384,55,127
CVT :: Requested scaled region size is 110x254 at resolution 1. Nearest existing resolution is 55x127
TileManager getRegion :: Total tiles in image: 2x2 tiles
TileManager getRegion :: Tile start: 1,1 with offset: 0,128
TileManager getRegion :: Tile end: 1,1
TileManager :: Cache Miss for resolution: 1, tile: 3
TileManager :: Cache Size: 0 tiles, 0 MB
TileManager :: Cropping tile
TileManager :: Edge tile: Base size: 256x256: This tile: 55x255
TileManager :: Tile cache insertion time: 25 microseconds
TileManager :: Total Tile Access Time: 2654 microseconds
TileManager getRegion :: Tile access time 2664 microseconds for tile 3 at resolution 1
TileManager getRegion :: Tile data is 3 channels, 8 bits per channel
TileManager getRegion :: destination tile width: 55, tile height: 127
CVT :: Resizing using bilinear interpolation in 1877 microseconds
CVT :: About to JPEG compress strip with height 128
CVT :: Compressed data strip length is 7145
CVT :: About to JPEG compress strip with height 126
CVT :: Compressed data strip length is 7083
CVT :: Total command time 7532 microseconds
IIIF :: Total command time 15936 microseconds
Memcached :: stored 14428 bytes in 163 microseconds
Total Request Time: 16575 microseconds
image closed and deleted
Server count is 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment