diff --git a/stubs/PIL/ImageCms.pyi b/stubs/PIL/ImageCms.pyi deleted file mode 100644 --- a/stubs/PIL/ImageCms.pyi +++ /dev/null @@ -1,55 +0,0 @@ -# Stubs for PIL.ImageCms (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import Image -from typing import Any, Optional - -DESCRIPTION: str -VERSION: str -core: Any -INTENT_PERCEPTUAL: int -INTENT_RELATIVE_COLORIMETRIC: int -INTENT_SATURATION: int -INTENT_ABSOLUTE_COLORIMETRIC: int -DIRECTION_INPUT: int -DIRECTION_OUTPUT: int -DIRECTION_PROOF: int -FLAGS: Any - -class ImageCmsProfile: - def __init__(self, profile: Any) -> None: ... - def tobytes(self): ... - -class ImageCmsTransform(Image.ImagePointHandler): - transform: Any = ... - input_mode: Any = ... - output_mode: Any = ... - output_profile: Any = ... - def __init__(self, input: Any, output: Any, input_mode: Any, output_mode: Any, intent: Any = ..., proof: Optional[Any] = ..., proof_intent: Any = ..., flags: int = ...) -> None: ... - def point(self, im: Any): ... - def apply(self, im: Any, imOut: Optional[Any] = ...): ... - def apply_in_place(self, im: Any): ... - -def get_display_profile(handle: Optional[Any] = ...): ... - -class PyCMSError(Exception): ... - -def profileToProfile(im: Any, inputProfile: Any, outputProfile: Any, renderingIntent: Any = ..., outputMode: Optional[Any] = ..., inPlace: int = ..., flags: int = ...): ... -def getOpenProfile(profileFilename: Any): ... -def buildTransform(inputProfile: Any, outputProfile: Any, inMode: Any, outMode: Any, renderingIntent: Any = ..., flags: int = ...): ... -def buildProofTransform(inputProfile: Any, outputProfile: Any, proofProfile: Any, inMode: Any, outMode: Any, renderingIntent: Any = ..., proofRenderingIntent: Any = ..., flags: Any = ...): ... -buildTransformFromOpenProfiles = buildTransform -buildProofTransformFromOpenProfiles = buildProofTransform - -def applyTransform(im: Any, transform: Any, inPlace: int = ...): ... -def createProfile(colorSpace: Any, colorTemp: int = ...): ... -def getProfileName(profile: Any): ... -def getProfileInfo(profile: Any): ... -def getProfileCopyright(profile: Any): ... -def getProfileManufacturer(profile: Any): ... -def getProfileModel(profile: Any): ... -def getProfileDescription(profile: Any): ... -def getDefaultIntent(profile: Any): ... -def isIntentSupported(profile: Any, intent: Any, direction: Any): ... -def versions(): ...