add DICOM (aka supp 145) support #142 Build Problem

Mathieu Malaterre mathieu.malaterre at gmail.com
Thu Sep 17 08:50:25 EDT 2015


On Mon, Sep 14, 2015 at 6:19 PM, Ivo Rakar <ivo23061987 at gmail.com> wrote:
> $ openslide-write-png DOGDIR 0 0 1 36864 34048 dicom.png
> openslide-write-png: Cannot seek to offset: Invalid argument

Thanks much !

So please edit the following line:

https://github.com/malaterre/openslide/blob/dicom-wsi/src/openslide-vendor-dicom.c#L84

And change:

const int tidx = tile_col * dicoml->tiles_across + tile_row;

into:

const int tidx = tile_row * dicoml->tiles_across + tile_col;


More information about the openslide-users mailing list