large ndpi images on Windows

jcupitt at jcupitt at
Thu Apr 17 10:51:56 EDT 2014

Hi all, I'm having some trouble reading a large (>2GB) .ndpi image on
32-bit Windows. Has anyone got this working?

I see this:

$ ./openslide-write-png.exe ~/pics/openslide/bild.ndpi 0 0 0 1000 1000 x.png
openslide-write-png.exe: /home/john/pics/openslide/bild.ndpi: Can't
validate JPEG for directory 4: Couldn't seek: Invalid argument

The image is just over the 2GB mark:

$ ls -l ~/pics/openslide/bild.ndpi
-rw-r--r-- 1 john john 2167418089 Apr  4 12:34

It works fine with images under 2GB. It also works fine for tiff files
over 2GB, so I don't think it's a problem with the way I've built the
jpeg or tiff libraries.

It's also fine under linux with any size file, though of course that's
a 64-bit build.


More information about the openslide-users mailing list