hydrus/hydrus/core/files/HydrusPDFHandling.py

17 lines
433 B
Python

import typing
from hydrus.core import HydrusExceptions
def BaseGenerateThumbnailNumPyFromPDFPath( path: str, target_resolution: typing.Tuple[int, int] ) -> bytes:
raise HydrusExceptions.NoThumbnailFileException()
def BaseGetPDFInfo( path: str ):
raise HydrusExceptions.LimitedSupportFileException()
GenerateThumbnailNumPyFromPDFPath = BaseGenerateThumbnailNumPyFromPDFPath
GetPDFInfo = BaseGetPDFInfo