mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
impl tile generation
This commit is contained in:
@@ -4399,8 +4399,8 @@
|
||||
},
|
||||
"/assets/{id}/tiles/{level}/{col}/{row}": {
|
||||
"get": {
|
||||
"description": "Download a specific tile from an image at the specified level and position",
|
||||
"operationId": "getAssetTile",
|
||||
"description": "Download a specific tile from an image at the specified level - must currently be 0 - and position",
|
||||
"operationId": "viewAssetTile",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "col",
|
||||
@@ -4476,17 +4476,17 @@
|
||||
"api_key": []
|
||||
}
|
||||
],
|
||||
"summary": "Get an image tile",
|
||||
"summary": "View an asset tile",
|
||||
"tags": [
|
||||
"Assets"
|
||||
],
|
||||
"x-immich-history": [
|
||||
{
|
||||
"version": "v2.4.0",
|
||||
"version": "v2.7.0",
|
||||
"state": "Added"
|
||||
},
|
||||
{
|
||||
"version": "v2.4.0",
|
||||
"version": "v2.7.0",
|
||||
"state": "Stable"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -4314,9 +4314,9 @@ export function viewAsset({ edited, id, key, size, slug }: {
|
||||
}));
|
||||
}
|
||||
/**
|
||||
* Get an image tile
|
||||
* View an asset tile
|
||||
*/
|
||||
export function getAssetTile({ col, id, key, level, row, slug }: {
|
||||
export function viewAssetTile({ col, id, key, level, row, slug }: {
|
||||
col: number;
|
||||
id: string;
|
||||
key?: string;
|
||||
|
||||
Reference in New Issue
Block a user