2013-06-03 1 views

답변

1

핸드북은 특정 솔루션에 대한 인터넷 검색 외에 내가 찾은 최고의 참조입니다. PIL 자체가 프로그램 인터페이스이기 때문에 http://effbot.org/imagingbook/image.htm

나는, 그런데, 당신은 API를 의미 생각하지 않는다 : 당신이 그것을 파고, 여기에 이미지 모듈과 같은 몇 가지 괜찮은 예, 모듈 페이지에 포함이 있습니다 .

0

함수의 소스 코드으로 이동하여 각 함수의 매개 변수를 사용하는 방법을 확인하는 것이 좋습니다 (최선의 해결책은 아니지만 그게 뭔가입니다). 당신이 함수로 이동합니다 당신이 우리 F3 수 Eclipse를 사용하는 경우

def point(self, lut, mode=None): 
    """ 
    Maps this image through a lookup table or function. 

    :param lut: A lookup table, containing 256 (or 65336 if 
     self.mode=="I" and mode == "L") values per band in the 
     image. A function can be used instead, it should take a 
     single argument. The function is called once for each 
     possible pixel value, and the resulting table is applied to 
     all bands of the image. 
    :param mode: Output mode (default is same as input). In the 
     current version, this can only be used if the source image 
     has mode "L" or "P", and the output has mode "1" or the 
     source image mode is "I" and the output mode is "L". 
    :returns: An :py:class:`~PIL.Image.Image` object. 
    """ 

: 예를 들어 당신은 같은 것을 볼 수 있습니다.

관련 문제