Is switching to jpeg-turbo a possibility?
Is there a benefit to keep using openjpeg?

I am only asking as I have been asked about disabling openjpeg in the
oiio builds as it is one of the last to still use openjpeg. I don't
think disabling jpeg support would be very beneficial so am exploring
the need to use openjpeg.

Looking at the freebsd ports jpeg-turbo is used by 103 ports while
openjpeg15 by 13 and openjpeg2 by only 4

I am not certain that jpeg-turbo supports jpeg 2000 - I don't see any
mention in the docs. I do know that blender uses both openjpeg and
libjpeg with a copy of openjpeg within it's source tree and the first
commit mentions adding openjpeg for jpeg 2000 support. This would also
indicate the two don't conflict and aren't just drop in replacements.

The goal of libjpeg-turbo is making use of SIMD instructions to get
better performance, it claims a 2-4x speed increase, this may be a
reason to consider using jpeg-turbo even if openjpeg is left as an
option for only jpeg 2000 support.

I also wonder how much jpeg 2000 is used if the most popular library
doesn't support it.

--
FreeBSD - the place to B...Software Developing

Shane Ambler

_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to