If I use the LizardTech plugin for windows explorer the images open
fine.
On my machione (Fedora 8, gcc 4.1.2, OpenJPEG v1.3) I can't even get
the codec example to work right:
OpenJPEG_v1_3/codec/j2k_to_image -iF11D3.jp2 -o /tmp/out.tif
[INFO] tile 1 of 25
[ERROR] tcd_decode: incomplete bistream
[INFO] - tiers-1 took 0.452932 s
[INFO] - dwt took 0.492925 s
[INFO] - tile decoded in 1.008846 s
[ERROR] Failed to decode J2K image
Segmentation fault
I don't really see anything about how to use OpenJpeg other than the
example in the codec directory. All I want to do i open the image,
get the dimensions (in pixel) of the image and convert the image to an
array of RGB values.
Any ideas or suggestions? I am not even sure where to start....
- Brian
Brian Peschel ha scritto:
> --
>
> You received this message because you are subscribed to the Google Groups "OpenJPEG" group.
> To post to this group, send email to open...@googlegroups.com.
> To unsubscribe from this group, send email to openjpeg+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/openjpeg?hl=en.
>
>
>
>
My bigger problem is how to do it. I haven't been able to really find a
tutorial and the documentation with it seems lacking. I was using the
codec directory because that at least had something to use. I know I
can use the LizardTech SDK (which isn't opensource, but is free) but the
library is huge.
Any thoughts here? How does a newbie learn to use OpenJPG? Is there
something out there I missed?
- Brian