470,815 Members | 1,294 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

JPEG2000 support?

I'm getting ready to build an application around a big JPEG2000
image but I haven't found any Python support for JPEG2000.

I plan to just use an external call to JasPer to handle the
conversion for now but I'd prefer to have a better integrated
solution. Are any Python libraries likely to have support for
it soon? My searches are yielding surprisingly little.

Thank you.

--kyler
Jul 18 '05 #1
5 5247

If you find any, I'm interested.

On Sun, 25 Jul 2004 06:08:20 GMT, Kyler Laird <Ky***@news.Lairds.org>
wrote:
I'm getting ready to build an application around a big JPEG2000
image but I haven't found any Python support for JPEG2000.

I plan to just use an external call to JasPer to handle the
conversion for now but I'd prefer to have a better integrated
solution. Are any Python libraries likely to have support for
it soon? My searches are yielding surprisingly little.

Thank you.

--kyler


Jul 18 '05 #2
On Sun, 25 Jul 2004, Kyler Laird wrote:
I'm getting ready to build an application around a big JPEG2000
image but I haven't found any Python support for JPEG2000.

I plan to just use an external call to JasPer to handle the
conversion for now but I'd prefer to have a better integrated
solution. Are any Python libraries likely to have support for
it soon? My searches are yielding surprisingly little.


PyMagick is a Python interface to the powerful, cross-platform ImageMagick
graphics package, which supports JPEG2000 through an external library.
So unlike something like PIL, you'd also need to install ImageMagick
(compiled with JPEG2000 support) and a JPEG2000 library, but it seems to
be very well integrated with Python, PIL, and numeric.

Hope this helps.

Jul 18 '05 #3
>>> it seems to be very well integrated with Python, PIL, and numeric.

Yo, man ! It's cool !

Jul 18 '05 #4
Christopher T King <sq******@WPI.EDU> writes:
PyMagick is a Python interface to the powerful, cross-platform ImageMagick
graphics package, which supports JPEG2000 through an external library.


I've also been using ImageMagick to do some conversions. (In fact, I'm going
to try it soon to see if it can handle converting a ~12GB image without first
loading it all into memory.) I was hoping that PyMagick might be able to
also handle JPEG2000.

A few days ago when I was searching for this information I recall seeing that
someone was having problems using ImageMagick for JPEG2000 because he could
not find a way to specify some of the JPEG2000-specific features. I will
need to be able to, for example, set the progression order for creating
JPEG2000 images but I'm o.k. with creating the image with something else.

It's vital, however, that I find a way to extract images efficiently. When I
timed ImageMagick by using "convert" to extract various resolutions of a
JPEG2000 image (simply using "-scale"), it was not clear to me that it was
taking advantage of JPEG2000's multi-resolution capabilities.

Thank you for the reference. I'll try a PyMagick implementation. (I would
have done it sooner but it's not a Debian package.)

--kyler
Jul 18 '05 #5
In article <Pi**************************************@ccc6.wpi .edu>, Christopher T King wrote:
On Sun, 25 Jul 2004, Kyler Laird wrote:
I'm getting ready to build an application around a big JPEG2000
image but I haven't found any Python support for JPEG2000.

I plan to just use an external call to JasPer to handle the
conversion for now but I'd prefer to have a better integrated
solution. Are any Python libraries likely to have support for
it soon? My searches are yielding surprisingly little.


PyMagick is a Python interface to the powerful, cross-platform ImageMagick
graphics package, which supports JPEG2000 through an external library.
So unlike something like PIL, you'd also need to install ImageMagick
(compiled with JPEG2000 support) and a JPEG2000 library, but it seems to
be very well integrated with Python, PIL, and numeric.


Which PyMagick are you referring to?

This one: http://starship.python.net/crew/zack/pymagick/
Or this one: http://pythonmagick.procoders.net/

Pros/cons of each? I've used the one at procoders, but I had problems with
it conflicting with my standalone ImageMagick DLLs (on Windows, of course).
I'm also a bit confused as to the real and practical difference between
"ImageMagick" and "GraphicsMagick".

Thanks,
Dave

--
.:[ dave benjamin: ramen/[sp00] -:- spoomusic.com -:- ramenfest.com ]:.
"talking about music is like dancing about architecture."
Jul 18 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Aditya Ivaturi | last post: by
3 posts views Thread by Chris Hope | last post: by
reply views Thread by | last post: by
5 posts views Thread by shaun.mostashari | last post: by
5 posts views Thread by NormaJean Sebastian via DBMonster.com | last post: by
4 posts views Thread by Juan T. Llibre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.