Code Monkey home page Code Monkey logo

dumpzipwithdicomfiles's Introduction

dumpZIPwithDICOMfiles logo

The present apps dump the folders embedded in a ZIP file in a browser web page. Public demos are available at my website :

loadZIP

Informations about the DICOM standard are available in my GitHub repository dumpDICOMDIRarchive.

The loadZIP app uses a XMLHttpRequest to download the remote file. For security reasons, browsers restrict such downloads if the requested source is hosted in another domain. This demo server, hosted on Amazon Web Services (AWS), uses the Cross Origin Resource Sharing (CORS) protocol to allow cross-origin requests.

The great JSZIP library, developed by Stuart Knightley and David Duponchel, is used to extract the content of ZIP archives. The related javascript file jszip.min.js is not included in this project, please download it from the JSZIP GitHub.

The present repository is related to the medical project RadioLogic. The demos and the related documentation have been created for my own needs. The files have been validated with the W3C Markup Validation Service and with JSHint, a Javascript Code Quality Tool. The code has been tested with the following browsers :

  • Safari 10
  • iOS 10.3.1
  • Firefox 54
  • Chrome 60
  • IE 11
  • Edge 38
  • Android 6.0

I think the code may be of interest to other developers.
If you find it useful, you are welcome.

Links :

https://github.com/victornpb/jszip-utils
http://jsfiddle.net/dvLtdsr8/3/
https://stackoverflow.com/questions/43721964/wrapping-js-promisies-into-a-function
https://pusher.com/sessions/meetup/viennajs/zipping-files-fun

dumpzipwithdicomfiles's People

Contributors

mbarnig avatar

Watchers

 avatar  avatar

dumpzipwithdicomfiles's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.