Closed GoogleCodeExporter closed 9 years ago
The "/compressed-data" endpoint is used to access the raw data, as stored by
Orthanc on the filesystem after compression (it is enabled). The internal
structure of this data is totally opaque and should not be interpreted by the
user, as other compression methods could be introduced in future versions of
Orthanc (e.g. bzip2 or snappy).
The reason "/compressed-data" and "/compressed-md5" exist is for system daemons
to be able to detect possible disk corruption.
To summarize, do not try and parse "/compressed-data".
Original comment by s.jodo...@gmail.com
on 11 Sep 2014 at 12:27
There are huge performance and scalability benefits if you can stream a
compressed data stream directly from disk to the web browser. To do this, the
data needs to be compressed in a format that a web browser can decompress -
either gzip or deflate. I understand that this use case was not the intention
of /compressed-data, but addressing this use case is worth considering. I will
create a card for this on the trello, thanks
Original comment by cha...@gmail.com
on 11 Sep 2014 at 1:18
Original issue reported on code.google.com by
cha...@gmail.com
on 9 Sep 2014 at 4:19