2023-07-22 20:52:32 +00:00
|
|
|
import typing
|
2023-07-26 20:57:00 +00:00
|
|
|
|
2023-07-08 18:35:49 +00:00
|
|
|
from hydrus.core import HydrusExceptions
|
|
|
|
|
2023-11-01 21:38:03 +00:00
|
|
|
def BaseGenerateThumbnailNumPyFromSVGPath( path: str, target_resolution: typing.Tuple[int, int] ) -> bytes:
|
2023-07-08 18:35:49 +00:00
|
|
|
|
2023-09-06 19:49:46 +00:00
|
|
|
raise HydrusExceptions.NoThumbnailFileException()
|
2023-07-08 18:35:49 +00:00
|
|
|
|
|
|
|
|
2023-07-26 20:57:00 +00:00
|
|
|
def BaseGetSVGResolution( path: str ):
|
2023-07-08 18:35:49 +00:00
|
|
|
|
2023-09-06 19:49:46 +00:00
|
|
|
raise HydrusExceptions.NoResolutionFileException()
|
2023-07-08 18:35:49 +00:00
|
|
|
|
|
|
|
|
2023-09-23 19:13:21 +00:00
|
|
|
GenerateThumbnailNumPyFromSVGPath = BaseGenerateThumbnailNumPyFromSVGPath
|
2023-07-26 20:57:00 +00:00
|
|
|
GetSVGResolution = BaseGetSVGResolution
|