yagni

Results 56 comments of yagni

I'm going to close this in agreement with @dannyrb. This library is focusing on standards-compliant DICOM parsing. Feel free to fork or wrap the methods provided in this repo to...

Usually buffer overruns have to do with misinterpreting the DICOM (most likely because the DICOM is corrupt or non compliant in some way). Does anybody have any sample DICOM that...

@amrita-syn Do you have an anonymized DICOM you can submit for us to troubleshoot with? If your DICOM isn't Avanto or Skyra, I'd recommend making a new issue and attaching...

What's your use case and what browser? I've been using the library to parse a 2GB directory (about 3200 files) with less than 150MB memory usage. Once I parse the...

Seems to be due to this line: `else if (typeof module !== 'undefined' && this.module !== module) {` There's no `this`. Anybody ever built this for node and wants to...

@timmy-li It looks like the length of your pixel data (7fe0,0010) in your DICOM is incorrect. Can you confirm? If so, the parser cannot be expected to read the file...

It does look like it used to be that way a long time ago ([here](https://github.com/cornerstonejs/dicomParser/commit/f63b40858c110f671ae0867a10ac2ce7624f1b82) are the changes that introduced the change). @chafey any thoughts on this one?

Note that this will be a breaking change, as it will change the reported length of the SQ element.

@AntonOnyshch is correct. You'd need to use a library like pngjs to take in the bytes and save to png. For a basic greyscale image, that might work almost right...