Skip to content

collinmsn/python-tclip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

Python Tclip

The Python binding of tclip.

实际使用中,通常不是从文件中读取图片并把图片写到文件,而是拿到在内存中的图片数据,并生成图片 数据直接返回。所以这就是为什么要加上tclip_on_buffer。

Usage

Install this package into your site-packages:

$ pip install git+git://github.com/tonyseek/python-tclip.git

And use it to process pictures

from tclip import TClip

clip = TClip(width=150, height=150)
clip.process_file("/path/to/input.jpg", "/path/to/output.jpg")

About

The Python binding of tclip.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 60.6%
  • Python 39.4%