views:

8

answers:

0

Hi, i'm experiencing some problems with the JPEG-2000 file format and Imagemagick.

First of all i needed to identify a jpf file, i couldn't get this to work after lots of tries, any idea if this is supported? I always got following error:

 identify -format "%m" Schutters_1.jpf 
 error: cannot decode code stream
 identify: unable to decode image file `Schutters_1.jpf' @ jp2.c/ReadJP2Image/403.

Because the jpf didn't work i wanted to find out why, that's why i started testing .jp2 files. These files do work when i execute them as root, but when i do this as another user, or the www-user (for a php project) it doesn't work (while identifying a jpeg or png does work). I get following error:

 identify -format "%m" /tmp/seq-1.jp2 
 error: cannot decode code stream
 identify: unable to decode image file `/tmp/seq-1.jp2' @ error/jp2.c/ReadJP2Image/400.

I think it's using some external plugin or something on which i don't have enough permissions, but i don't know which one.

Does anyone have any experience with these kinds of files?

These are the files:

http://users.telenet.be/so0ly/Schutters_1.jpf

http://users.telenet.be/so0ly/seq-1.jp2

greets, Daan