mirror of
https://github.com/enpaul/kodak.git
synced 2025-12-18 00:40:37 +00:00
Rename project to imagemuck
This commit is contained in:
17
imagemuck/resources/thumbnail.py
Normal file
17
imagemuck/resources/thumbnail.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from imagemuck.resources._shared import ImageMuckResource
|
||||
|
||||
|
||||
class ThumbnailScale(ImageMuckResource):
|
||||
|
||||
routes = ("/thumb/<string:image_id>/scale/<int:scale_width>.jpg",)
|
||||
|
||||
def get(self, image_id: str, scale_width: int):
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
class ThumbnailResize(ImageMuckResource):
|
||||
|
||||
routes = ("/thumb/<string:image_id>/size/<int:width>x<int:height>.jpg",)
|
||||
|
||||
def get(self, image_id: str, width: int, height: int):
|
||||
raise NotImplementedError
|
||||
Reference in New Issue
Block a user