=================================
PyLibTiff - a Python tiff library
=================================
:Authors:
Pearu Peterson <pearu.peterson AT gmail DOT com>
:Website:
https://github.com/pearu/pylibtiff/
:License:
New BSD License
History
=======
* Started numpy.memmap wrapper of tiff files in April 2010.
* Project published on April 22, 2009.
Download
========
The latest release can be downloaded from pylibtiff website.
The latest development code is available via SVN. To check it out,
run::
svn checkout https://github.com/pearu/pylibtiff.git pylibtiff-svn
cd pylibtiff-svn/trunk
Installation
============
To use pylibtiff, the following is required:
* Python 2.5 or newer
* libtiff library
* nose for running pylibtiff tests
To install pylibtiff, unpack the archive file, change to the
pylibtiff source directory ``pylibtiff-?.?*`` (that contains setup.py
file and pylibtiff module), and run::
python setup.py install
Testing
=======
To test pure Python pylibtiff from source directory, run::
nosetests libtiff/tests/
Basic usage
===========
Import pylibtiff with
>>> from libtiff import *
that will provide a class TIFF to hold a tiff file:
>>> tiff = TIFF.open('filename')
>>> image = tiff.read_image()
The TIFF class provides ctypes based wrapper to the C libtiff library.
Additional documentation is available online in Pylibtiff website.
Help and bug reports
====================
You can report bugs at the pylibtiff issue tracker:
https://github.com/pearu/pylibtiff/issues
Any comments and questions can be sent also to the authors.
For developers
==============
To make a release [you must be pearu],
1. Make sure the version numbers are correct and ISRELEASED=True in
setup.py
2. Run
python setup.py sdist upload -r pypi
3. Reset ISRELEASED to False and increase version numbers in
setup.py, rerun setup.py (to update libtiff/version.py) and
commit changes to development repository.
没有合适的资源?快使用搜索试试~ 我知道了~
libtiff-0.4.2.tar.gz
需积分: 15 5 下载量 78 浏览量
2019-10-18
17:18:57
上传
评论
收藏 127KB GZ 举报
温馨提示
共39个文件
py:33个
c:3个
license:1个
这个包里面主要用到的就是TIFF和TIFF3D这两个包
资源推荐
资源详情
资源评论
收起资源包目录
libtiff-0.4.2.tar.gz (39个子文件)
libtiff-0.4.2
PKG-INFO 939B
README.txt 2KB
libtiff
tiff.py 1KB
tiff_h_4_0_8.py 12KB
tiff_h_4_0_1.py 11KB
tiff_sample_plane.py 11KB
tiff_channels_and_files.py 2KB
lzw.py 8KB
tiff_file.py 43KB
tiff_h_3_9_5.py 11KB
optparse_gui.py 41KB
utils.py 6KB
tiff_h_4_0_6.py 12KB
tiff_h_3_9_4.py 11KB
tiff_h_4_0_2.py 11KB
bitarray-a1646c0
bitarray
test_bitarray.py 67KB
__init__.py 4KB
_bitarray.c 83KB
tiff_image.py 17KB
src
bittools.c 6KB
tif_lzw.c 37KB
__init__.py 637B
tiff_base.py 27B
tiff_h_3_8_2.py 11KB
lsm.py 49KB
libtiff_ctypes.py 91KB
setup.py 3KB
tiff_h_4_0_9.py 12KB
tiff_h_4_0_3.py 12KB
tiff_h_3_9_2.py 11KB
test_bittools.py 1KB
tiff_files.py 5KB
version.py 1012B
tiff_h_4_0_7.py 12KB
tiff_array.py 3KB
tiff_data.py 9KB
script_options.py 4KB
LICENSE 1KB
setup.py 3KB
共 39 条
- 1
资源评论
灯会_hust
- 粉丝: 156
- 资源: 30
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功