This commit is contained in:
Niles Rogoff 2017-04-14 13:40:12 -04:00
parent 3e8fc078db
commit ce1836539e
No known key found for this signature in database
GPG Key ID: B78B908F23430F80
3 changed files with 6 additions and 1 deletions

View File

@ -130,3 +130,5 @@ class PME(object):
self.recalculate_length(index)
return True
return False
decompress = zlib.decompress
compress = zlib.compress

View File

@ -131,5 +131,8 @@ The output should look something like this:
## Changelog
### 1.2
You can now do `libpme.compress` instead of having to write `libpme.PME.compress`
### 1.1
Added the damaged argument to the constructor. If damaged is set to true, it will allow you to open potentially damaged png files, which maybe don't have IDAT as the first chunk, or have invalid CRCs

View File

@ -1,7 +1,7 @@
#from distutils.core import setup
from setuptools import setup
setup(name='libpme',
version='1.1',
version='1.2',
description="PNG metadata editor library",
author="Niles Rogoff",
author_email="me@niles.xyz",