pylint work, wraps up much of jp2k module. #71

This commit is contained in:
John Evans 2013-07-09 08:16:37 -04:00
commit bb705db461
7 changed files with 195 additions and 187 deletions

View file

@ -6,13 +6,13 @@ How do I...?
Read the lowest resolution thumbnail?
=====================================
Printing the Jp2k object should reveal the number of resolutions (look in the
COD segment section), but you can take a shortcut by supplying -1 as the reduce
level. ::
COD segment section), but you can take a shortcut by supplying -1 as the
resolution level. ::
>>> import glymur
>>> file = glymur.data.nemo()
>>> j = glymur.Jp2k(file)
>>> thumbnail = j.read(reduce=-1)
>>> thumbnail = j.read(rlevel=-1)
Display metadata?
=================