jeremytubbs/deepzoom
最新稳定版本:1.0.1
Composer 安装命令:
composer require jeremytubbs/deepzoom
包简介
Deepzoom Tile Generator for OpenSeadragon
关键字:
README 文档
README
Deepzoom
Tile Generator for use with OpenSeadragon.
https://openseadragon.github.io/
Example implementation -
// Setup Deepzoom $deepzoom = Jeremytubbs\Deepzoom\DeepzoomFactory::create([ 'path' => 'images', // Export path for tiles 'driver' => 'imagick', // Choose between gd and imagick support. 'format' => 'jpg', ]); // folder, file are optional and will default to filename $response = $deepzoom->makeTiles('KISS.jpg', 'file', 'folder');
Example response -
{ status: "ok", data: { output: { JSONP: "folder/file.js", DZI: "folder/file.dzi", _files: "folder/file_files" }, source: "source/file/path" }, message: "Everything is okay!" }
Supported Image Libraries
- GD Library (>=2.0)
- Imagick PHP extension (>=6.5.7)
FYI:
Filenames for JSONP must not start with a number and should not contain hyphen therefore filename spaces and hyphens will be converted to underscores. Folder name spaces will be converted to hyphens. If you would like to avoid this auto-naming declare your 'folder' and 'file' within the maketiles method.
统计信息
- 总下载量: 18.05k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 50
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-01