Skip to content

Commit 552fda9

Browse files
committed
Update README.md
1 parent 529234d commit 552fda9

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,19 @@ This decoder can read the following DICOM transfer syntaxes:
77
- 1.2.840.10008.1.2.4.57 JPEG Lossless, Nonhierarchical (Processes 14)
88
- 1.2.840.10008.1.2.4.70 JPEG Lossless, Nonhierarchical (Processes 14 [Selection 1])
99

10-
Usage
11-
-----
10+
###Usage
1211
See tests/driver.js to run this example:
1312

1413
```javascript
1514
var decoder = new jpeg.lossless.Decoder(compressedBytes); // optional second parameter to specify 1 or 2 byte output
1615
var decompressedData = decoder.decode();
1716
```
1817

19-
Acknowledgments
20-
-----
18+
###Acknowledgments
2119
This library was originally written by Helmut Dersch for Java, later released by JNode. I added support for selection values 2 to 7 and ported to JavaScript.
20+
21+
###Building
22+
```shell
23+
./build.sh # normal build
24+
./build-min.sh # minimized build
25+
```

0 commit comments

Comments
 (0)