Image.py 文件源码

python
阅读 43 收藏 0 点赞 0 评论 0

项目:CNCGToolKit 作者: cineuse 项目源码 文件源码
def copy(self):
        "Copy raster data"

        self.load()
        im = self.im.copy()
        return self._new(im)

    ##
    # Returns a rectangular region from this image. The box is a
    # 4-tuple defining the left, upper, right, and lower pixel
    # coordinate.
    # <p>
    # This is a lazy operation.  Changes to the source image may or
    # may not be reflected in the cropped image.  To break the
    # connection, call the {@link #Image.load} method on the cropped
    # copy.
    #
    # @param The crop rectangle, as a (left, upper, right, lower)-tuple.
    # @return An Image object.
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号