Hamamatsu NDPI support added

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Sep 4 07:55:48 EDT 2013


Hi,

On Fri, Aug 30, 2013 at 4:55 AM, Benjamin Gilbert <bgilbert at cs.cmu.edu> wrote:
> Support for the Hamamatsu NDPI format is now in Git master.  Give it a
> try and let me know how it works for you.
>
> The driver will probably choke on NDPI files with multiple focal planes.
>   If you have access to such a slide, please post the output of
> "tiffdump <slide>" and I'll fix it.

Wanted to give it a try, here is what I get.

Steps:

  cd /tmp
  mkdir bg
  cd bg
  git clone https://github.com/openslide/openslide.git
  cd openslide
  autoreconf -i --force
  ./configure
  make
make  all-am
make[1]: Entering directory `/tmp/bg/openslide'
  CC       src/src_libopenslide_la-openslide.lo
  CC       src/src_libopenslide_la-openslide-cache.lo
  CC       src/src_libopenslide_la-openslide-decode-jp2k.lo
  CC       src/src_libopenslide_la-openslide-decode-jpeg.lo
src/openslide-decode-jpeg.c: In function '_openslide_jpeg_read':
src/openslide-decode-jpeg.c:138:37: warning: argument '_dest' might be
clobbered by 'longjmp' or 'vfork' [-Wclobbered]
                           uint32_t *_dest,
                                     ^
  CC       src/src_libopenslide_la-openslide-decode-tiff.lo
  CC       src/src_libopenslide_la-openslide-decode-tifflike.lo
  CC       src/src_libopenslide_la-openslide-error.lo
  CC       src/src_libopenslide_la-openslide-grid.lo
  CC       src/src_libopenslide_la-openslide-hash.lo
  CC       src/src_libopenslide_la-openslide-jdatasrc.lo
  CC       src/src_libopenslide_la-openslide-util.lo
  CC       src/src_libopenslide_la-openslide-vendor-aperio.lo
  CC       src/src_libopenslide_la-openslide-vendor-generic-tiff.lo
  CC       src/src_libopenslide_la-openslide-vendor-hamamatsu.lo
src/openslide-vendor-hamamatsu.c: In function 'read_from_jpeg':
src/openslide-vendor-hamamatsu.c:592:38: warning: argument 'dest'
might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
                            uint32_t *dest,
                                      ^
  CC       src/src_libopenslide_la-openslide-vendor-leica.lo
  CC       src/src_libopenslide_la-openslide-vendor-mirax.lo
  CC       src/src_libopenslide_la-openslide-vendor-trestle.lo
  CCLD     src/libopenslide.la
./libtool: line 5989: cd: lib/x86_64-linux-gnu: No such file or directory
libtool: link: cannot determine absolute directory name of
`lib/x86_64-linux-gnu'
make[1]: *** [src/libopenslide.la] Error 1
make[1]: Leaving directory `/tmp/bg/openslide'
make: *** [all] Error 2


What am I missing ?

Using: debian/sid

Thanks,

-- 
Mathieu


More information about the openslide-users mailing list