{"_id":"cornerstone-test-image-loader","_rev":"28-e589445f591138f2dbf29b54d6c8924e","name":"cornerstone-test-image-loader","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"cornerstone-test-image-loader","version":"0.2.0","keywords":["DICOM","medical","imaging"],"author":{"name":"Chris Hafey"},"license":"MIT","_id":"cornerstone-test-image-loader@0.2.0","maintainers":[{"name":"swederik","email":"erik.sweed@gmail.com"}],"homepage":"https://github.com/chafey/cornerstone-test-image-loader","bugs":{"url":"https://github.com/chafey/cornerstone-test-image-loader/issues"},"dist":{"shasum":"66ddf33e6bd9078601c5c221f19220d989133ab8","tarball":"https://registry.npmjs.org/cornerstone-test-image-loader/-/cornerstone-test-image-loader-0.2.0.tgz","integrity":"sha512-pHB05LmvJe6N+py8cNKs2KUQ7YP6dk5UlbCFGM6O7Q+eJuyxlTmW2fEqCtIKaQKLX1MQiAmX9jvMD6/rXFl9RA==","signatures":[{"sig":"MEYCIQCBdJPsYw7ARrXvhn1oMBeLzgbZnWipq/i3mEl2+AypyQIhANkXlxcvqa5yHw/X4l+9mbmK0mDEM+UP/+mOgzqc31AJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2m3qCRA9TVsSAnZWagAAK2wP+wUb0AXVgjdj/2QQ478v\nflvXzwsMDXYybyB96JGd5EDIHhfbUAKXAZzrvYaL0cfeDphvoZUxD4MKM556\nPgPeROnxBekkAVffpiMiMLhuvxAS1TzO0JDuCUXkAl1YgJ3c1tt70vjyrdxX\n2mGqsbyfj0FJ2NNGFihM5kNtFJTlL1+3jlNhUvXm9PyaloO7TZe1olNWNBL/\nkYzfI1qYP7kHxeV4y9eMOg3Qf4Br4guXd9SwFj138MpjB0dwI871cORlY1yN\n9yirR9Vg9xaEbWudNMyRnK0uB2b71tkdZFBYpYXal7l2YTCF/rdpu60ZcPa1\nIlGHihkgLGMABjqTklXhf4dHT6MJHlfLP6PF6dHyzxR6D6ZduyXUtq1afG+s\n4tLHt54rSrslwlsKtj2DahyOa+i/I89g99HBCQs+sxH7I3sIanjswwbSHmR4\nhp6MpmdAT9WwitMhw1C4elY7aaZ3nE+UguL9aIgnV8QfP/RKrOrw5R9VQ+M/\nlLwYJdosgBKDtwmqpsTU+1HYaVkmyBL00DAjhZuOHT+J77cfzETFmrgQCeds\npcd/YsowP3sPymWKyMymW3c1i4KtPKCIqNv8tUJ/d0oWrSBdptniofefIKiJ\nBqTjjcz6sbpBdobhju+CyoQjFJf+Ii4MZQt1pkXLe+oR+aYaRPqRdPyMfWKv\nbQEF\r\n=0y79\r\n-----END PGP SIGNATURE-----\r\n"},"_from":".","_shasum":"66ddf33e6bd9078601c5c221f19220d989133ab8","gitHead":"4e722678cd9a83299ba7cb03c5fe89f675dc59e8","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"swederik","email":"erik.sweed@gmail.com"},"repository":{"url":"git+https://github.com/chafey/cornerstone-test-image-loader.git","type":"git"},"_npmVersion":"3.10.10","description":"Cornerstone Test Image Loader","directories":{},"_nodeVersion":"6.10.3","devDependencies":{"load-grunt-tasks":"^0.2.1","grunt-contrib-copy":"0.4.x","grunt-contrib-clean":"^0.5.0","grunt-contrib-qunit":"^0.4.0","grunt-contrib-watch":"^0.6.1","grunt-contrib-concat":"^0.3.0","grunt-contrib-cssmin":"^0.9.0","grunt-contrib-jshint":"^0.8.0","grunt-contrib-uglify":"^0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/cornerstone-test-image-loader-0.2.0.tgz_1496345474694_0.6366729948204011","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-06-01T19:31:14.898Z","modified":"2026-08-13T22:13:37.949Z","0.2.0":"2017-06-01T19:31:14.898Z"},"bugs":{"url":"https://github.com/chafey/cornerstone-test-image-loader/issues"},"author":{"name":"Chris Hafey"},"license":"MIT","homepage":"https://github.com/chafey/cornerstone-test-image-loader","keywords":["DICOM","medical","imaging"],"repository":{"url":"git+https://github.com/chafey/cornerstone-test-image-loader.git","type":"git"},"description":"Cornerstone Test Image Loader","maintainers":[{"email":"erik.sweed@gmail.com","name":"swederik"},{"email":"andrebot_almeida@hotmail.com","name":"andrebot"},{"email":"chafey@gmail.com","name":"chafey"},{"email":"danny.ri.brown@gmail.com","name":"dannyrb"},{"email":"ar.sedghi@gmail.com","name":"sedghi"},{"email":"wayfarer3130@gmail.com","name":"wayfarer3130"},{"email":"joe.boccanfuso@radicalimaging.com","name":"jbocce"},{"email":"jamesapetts@gmail.com","name":"jamesapetts"},{"email":"danny@asteris.com","name":"cornerstonejs-bot"},{"email":"brunoalvesdefaria@gmail.com","name":"brunoalvesdefaria"}],"readme":"cornerstone-test-image-loader\n=============================\n\nThis repository contains a cornerstone image loader that produces test images client side.  This is really\nuseful for supporting development activities and examples as no server is required.\n\nWARNING: This image loader base 64 encodes the pixel data so cornerstone can view images without requiring\na server (for development and example use cases).  A better option that base 64 encoding your pixel data\nis to serve up the DICOM P10 via HTTP server and load it using the\n[cornerstoneWADOImageLoader](https://github.com/chafey/cornerstoneWADOImageLoader)\n\nView the examples for this repository [here](http://chafey.github.io/cornerstone-test-image-loader/)\n\nImage Loaders\n-------------\n\nexample\n-------\nProduces MRI Head images:\n\n* example://1 - MRI head image #1 (coronal)\n* example://2 - MRI head image #2 (coronal)\n\nctexample\n---------\n\nProduces CT chest image:\n* ctexample://1 - CT chest image\n\n\nstring\n---------\nGenerates a 256x256 image with the specified string printed into the image:\n\n* string://1 - Generates a 256x256 image with the string \"1\" rendered inside of it\n* string://hello world - Generates a 256x256 image with the string \"hello world\" rendered inside of it\n\nramp\n----\nGenerates a 256x256 image with a grayscale ramp based on the specified parameters (comma separated):\n* parameter 0 = width (default 256)\n* parameter 1 = height (default 256)\n* parameter 2 = bitsStored (default 8)\n* parameter 3 = columnPixelSpacing (default 1.0)\n* parameter 5 = rowPixelSpacing (default 1.0)\n* parameter 6 = slope (default 1.0)\n* parameter 7 = intercept (default 0.0)\n\n* ramp://256,256,8 - Generates a 256x256x1 image with a grayscale ramp covering 0-255 values\n* ramp://256,256,10 - Generates a 256x256x2 image with a grayscale ramp covering 0-1023 values\n* ramp://256,256,16 - Generates a 256x256x2 image with a grayscale ramp covering 0-65535 values\n* ramp://512,512,16,0.5,0.5,1.0,-1024 - Generates a 512x512x2 image with a grayscale ramp covering 0-65535 values and pixel spacing 0.5/0.5, slope = 1.0, intercept -1024\n\n\nBuild System\n============\n\nThis project uses grunt to build the software.\n\nPre-requisites:\n---------------\n\nNodeJs - [click to visit web site for installation instructions](http://nodejs.org).\n\ngrunt-cli\n\n> npm install -g grunt-cli\n\nbower\n\n> npm install -g bower\n\nCommon Tasks\n------------\n\nUpdate dependencies (after each pull):\n> npm install\n\n> bower install\n\nRunning the build:\n> grunt\n\nAutomatically running the build and unit tests after each source change:\n> grunt watch\n\nThe build will generate the library output in /dist and the output for the live examples in\n../cornerstone-test-image-loader-build.  The example output is committed to the gh-pages\nbranch so it can be viewed properly in github pages","readmeFilename":"README.md"}