[Digikam-devel] JPEG2000 support...

Gilles Caulier caulier.gilles at kdemail.net
Wed Nov 29 12:52:34 GMT 2006


On Wednesday 29 November 2006 12:47, Fabien wrote:
> Hi,
>
> Gilles Caulier wrote:
> > Yesterday, i have playing with libjasper API :
> >
> > http://www.ece.uvic.ca/~mdadams/jasper
> >
> > ... into digiKam core to add support of JPEG2000 file format :
> >
> > http://en.wikipedia.org/wiki/JPEG_2000
> >
> > There is a patch against svn to add a new JPEG2000 image loader :
> >
> > http://digikam3rdparty.free.fr/misc.tarballs/jpeg2000.patch
> >
> > You need to have libjasper developement package installed on your
> > computer. In all case, this patch will be applied later than digiKam
> > 0.9.0 final release.
> >
> > Against JPEG, JPEG2000 features are :
> >
> > - 16 bits color depth (JPEG : 8 bits only)
> > - Alpha channel support (JPEG no)
> > - LossLess compression availalble (JPEG no)
> > - Better compression ratio than JPEG, especially with high compression.
> > - Better image quality than JPEG, especially with high compression.
>
> Hm, great!
> Is there any digital camera with native jpeg2000 support ?
>
> BTW, this make me think we don't have the list of supported formats on
> the website.
>
> I found this :
> http://websvn.kde.org/trunk/extragear/graphics/digikam/libs/dimg/loaders/RE
>ADME?view=markup
>
> Is it up to date ?

yes it is.

But about JPEG2000 loading using KDE ImageIO interface, the resulting image is 
only in 8 bits color depth, forced sRGB color space. the save method don't 
work under KDE 3.5.

With my patch, digiKam can load _and_ save 16 bits images in JPEG2000 (:=)))

Gilles

>
> --
> Fabien
>
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel



More information about the Digikam-devel mailing list