Mercurial > code > home > repos > light9
view stubs/PIL/ImageCms.pyi @ 2299:8c82f13a3298
rm or repair dead code (notes could come back)
author | drewp@bigasterisk.com |
---|---|
date | Tue, 30 May 2023 23:50:42 -0700 |
parents | 3b2255e3576d |
children |
line wrap: on
line source
# 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(): ...