Merge branch 'issue139' into devel
This commit is contained in:
commit
7da7bc35e4
2 changed files with 6 additions and 6 deletions
|
|
@ -13,7 +13,7 @@ both read and write JPEG 2000 files, but you may wish to install version 2.0
|
||||||
or the 2.0+ version from OpenJPEG's development trunk for better performance.
|
or the 2.0+ version from OpenJPEG's development trunk for better performance.
|
||||||
If you do that, you should compile it as a shared library (named *openjp2*
|
If you do that, you should compile it as a shared library (named *openjp2*
|
||||||
instead of *openjpeg*) from the developmental source that you can retrieve
|
instead of *openjpeg*) from the developmental source that you can retrieve
|
||||||
via subversion. As of this time of writing, svn revision 2347 works.
|
via subversion. As of this time of writing, svn revision r2354 works.
|
||||||
You should also download the test data for the purpose of configuring
|
You should also download the test data for the purpose of configuring
|
||||||
and running OpenJPEG's test suite, check their instructions for all this.
|
and running OpenJPEG's test suite, check their instructions for all this.
|
||||||
You should set the **OPJ_DATA_ROOT** environment variable for the purpose
|
You should set the **OPJ_DATA_ROOT** environment variable for the purpose
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ How do I...?
|
||||||
|
|
||||||
|
|
||||||
... read the lowest resolution thumbnail?
|
... read the lowest resolution thumbnail?
|
||||||
=====================================
|
=========================================
|
||||||
Printing the Jp2k object should reveal the number of resolutions (look in the
|
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
|
COD segment section), but you can take a shortcut by supplying -1 as the
|
||||||
resolution level. ::
|
resolution level. ::
|
||||||
|
|
@ -15,7 +15,7 @@ resolution level. ::
|
||||||
>>> thumbnail = j.read(rlevel=-1)
|
>>> thumbnail = j.read(rlevel=-1)
|
||||||
|
|
||||||
... display metadata?
|
... display metadata?
|
||||||
=================
|
=====================
|
||||||
There are two ways. From the unix command line, the script *jp2dump* is
|
There are two ways. From the unix command line, the script *jp2dump* is
|
||||||
available. ::
|
available. ::
|
||||||
|
|
||||||
|
|
@ -35,7 +35,7 @@ codestream box, only the main header is printed. It is possible to print
|
||||||
>>> print(j.get_codestream())
|
>>> print(j.get_codestream())
|
||||||
|
|
||||||
... add XML metadata?
|
... add XML metadata?
|
||||||
=================
|
=====================
|
||||||
You can append any number of XML boxes to a JP2 file (not to a raw codestream).
|
You can append any number of XML boxes to a JP2 file (not to a raw codestream).
|
||||||
Consider the following XML file `data.xml` : ::
|
Consider the following XML file `data.xml` : ::
|
||||||
|
|
||||||
|
|
@ -67,7 +67,7 @@ The **append** method can add an XML box as shown below::
|
||||||
>>> print(jp2)
|
>>> print(jp2)
|
||||||
|
|
||||||
... add metadata in a more general fashion?
|
... add metadata in a more general fashion?
|
||||||
=======================================
|
===========================================
|
||||||
An existing raw codestream (or JP2 file) can be wrapped (re-wrapped) in a
|
An existing raw codestream (or JP2 file) can be wrapped (re-wrapped) in a
|
||||||
user-defined set of JP2 boxes. To get just a minimal JP2 jacket on the
|
user-defined set of JP2 boxes. To get just a minimal JP2 jacket on the
|
||||||
codestream provided by `goodstuff.j2k` (a file consisting of a raw codestream),
|
codestream provided by `goodstuff.j2k` (a file consisting of a raw codestream),
|
||||||
|
|
@ -158,7 +158,7 @@ while **append** modifies an existing file and is currently limited to XML
|
||||||
boxes.
|
boxes.
|
||||||
|
|
||||||
... create an image with an alpha layer?
|
... create an image with an alpha layer?
|
||||||
====================================
|
========================================
|
||||||
|
|
||||||
OpenJPEG can create JP2 files with more than 3 components (requires
|
OpenJPEG can create JP2 files with more than 3 components (requires
|
||||||
the development version of OpenJPEG), but by default, any extra components are
|
the development version of OpenJPEG), but by default, any extra components are
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue