On Mon, Jul 17, 2017 at 4:30 PM, Yaroslav Halchenko <y...@debian.org> wrote: > > On Mon, 17 Jul 2017, Mathieu Malaterre wrote: > > >> The original SIEMENS_MOSAIC_12BitsStored-16BitsJPEG.dcm reproduce the >> symptoms perfectly. > > sorry... could you please provide a complete tiny "script" since in the > above list of steps I just see > > cp ~/buggy.dcm bug2/jpeg.dcm > > and I see no way to get buggy.dcm and you did say that it worked fine on > that downloaded SIEMENS_MOSAIC_12BitsStored-16BitsJPEG.dcm*
What I tried to say is: $ cp SIEMENS_MOSAIC_12BitsStored-16BitsJPEG.dcm ~/buggy.dcm does reproduce the symptoms (you'll see the error on your end). Let me know if this still does not make sense, and I'll try to write a tiny script otherwise.