itk-viewer-color-maps
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -46,8 +46,2 @@ const ColorMapIcons = new Map(); | ||
ColorMapIcons.set('Purples', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAFCAYAAAAZiY8XAAAAAXNSR0IArs4c6QAAAI9JREFUOE/lU1sKwzAMk+Td/wD96Hl6p23dsNKEFgp9jDFGP4Jt2ZgYSey74SURCsFxnkfWE77Sjzp/MpKESFBAywn/IWtm7n7OlZl5jooljqnfMAPeUXc59t0wXu3g5ycHRxQ2mjoOsP0rhh/bBwuyvJeS/1dJ333ITfbLeQ+n14v/9r7KsAJpuOLXL3v4Db2DE7vloNCTAAAAAElFTkSuQmCC'); | ||
ColorMapIcons.set('Oranges', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAFCAYAAAAZiY8XAAAAAXNSR0IArs4c6QAAAIRJREFUOE/VU9EOgCAIPNT+yl/0i8tqEBQP1tbmmj0wxiHgDY5qyRtCBGKCeG+RY4dL7DCfl3oz66e1Z05rbRZpP+eJ+zdwmcu45AJAbaMb3N5TLXntS3g6PuRJDka49iWsW00JoDE3vPQl/HLDLAtcp/3FSc+PhPkcTVO/0TBrnZo63wElKBNSL+Ki1gAAAABJRU5ErkJggg=='); | ||
ColorMapIcons.set('PuBu', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAFCAYAAAAZiY8XAAAAAXNSR0IArs4c6QAAAJlJREFUOE/lU0EOwyAMi5Pv98yT+ql2axUnMLROExK9TDtUDsREmNpYynrAIFAVJUJgSuQ6a0dlL7iOvuaHQFNpddtjTxrPGj/2LM/WOex3Mz9xOA8Q+FlIYl9L3J+cyk1cyvr8N8GPacH5mr/yh/cxwUZr3mZpC4t9s7Tb2635zpm19DYm+JrheqFrhpXZeuXvvgy7eExk+AQhAhOn78L49wAAAABJRU5ErkJggg=='); | ||
ColorMapIcons.set('BuPu', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAFCAYAAAAZiY8XAAAAAXNSR0IArs4c6QAAAIRJREFUOE/lk0sOgCAMRGeKR/ZSnsYD+Q0tLZK4w426osybkhQYjtN8DCSSEImA17oWfSAKZ/CrV9RbPdYHqK7nttx04yKMlUSzr9x0Zr/2IOrck3VjXle/82DjNO9/G3jrGjgRgne98Ho/sMQ3/dqXXrpeuGSwZtgv6oEMe75Ltp/I8AlQcROs+Zl2nAAAAABJRU5ErkJggg=='); | ||
ColorMapIcons.set('BuGn', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAFCAYAAAAZiY8XAAAAAXNSR0IArs4c6QAAAIxJREFUOE/lU0kKgEAMSzr+2u959EeupFVHFEFQRPFQ0h1KGpZ1NSQOkBVCC19mB/m5Hj1EImG0lT/nMi59iF7NUIaYEypWzaMJqb3KbPI+s6op9k7HqbbZ7zNlXfV/O7jbHwwk9rcwXIgZIrP/AobbQ4b13ti/+tdfurn80hb6yXp+SsMJBoSWT2p4BIvMXWaJdZWAAAAAAElFTkSuQmCC'); | ||
ColorMapIcons.set('GnBu', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAFCAYAAAAZiY8XAAAAAXNSR0IArs4c6QAAAJRJREFUOE/lU1sOgzAM86Nn5WSchGuNPZS0wJimDSQ0CU39cOqkH25sdkN/LxQsY0HDEkyjrFAoMryaV33H6DXM/huu8dO8SJCE4kQNJopa6qhY+8nOiDYTiOQrAvp074b+9m+Cr9sFTxt/dsT5NjxuFywUG8bxgh1e/JGlL7sEf8uwhJIf8prhyD6T35vhzPRBGX4AV9YTp+v+LPwAAAAASUVORK5CYII='); | ||
ColorMapIcons.set('PuRd', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAFCAYAAAAZiY8XAAAAAXNSR0IArs4c6QAAAHxJREFUOE/lU8sOwCAIa9H9637Lr/SwZ0QWzebJg0u2AynUQiQNjHM44Al4ARO6nCvnCFZ5UyOmE+TeFMrBMNdU/qYRAVLQ0Go++NTb0JJQLa932qyC1NlVHeewNxee7KMfXHgb67AU919yeP2bw8tYh6s773G4vvmOGz4BDBUThB0mRnYAAAAASUVORK5CYII='); | ||
ColorMapIcons.set('RdPu', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAFCAYAAAAZiY8XAAAAAXNSR0IArs4c6QAAAJxJREFUOE/lU1sOwyAMsw07KvfjRt09usFEAlVZpWkf3aRpHyjkgVESm0vKtQahRMJseLI9fshFr6UEBgKi2dkXuIvD8nMdg6ARC46ljjnfHUvjD8Kx2A7cmu93wxxxy/WaJeXysuELUaXjMH644fu/bfj2+Q07HQelGy2x0fbLlL6mvJazNBybbvaaflfD7Q3Q9Dx0a0OZ9HyOhh+ypV5rlJGRwgAAAABJRU5ErkJggg=='); | ||
@@ -54,0 +48,0 @@ ColorMapIcons.set('RdOr', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAFCAYAAAAZiY8XAAAAAXNSR0IArs4c6QAAAI1JREFUOE/VU9EOgzAIvKP9yX6UX2ynSxG0XXyQZFv0gQAHITkOWKeyIiXslhOouRxYXx9iAaQz8sjpOIE9FoutjwloJuYtpvaPmM4Yei13XL2AOvOstuGsU1nihLMt5JmEX3HCfhFGuF2DbvVXCudt9pcUrnHCd1PYF3LtpOc44Q+F/Y9DCne/9scffgN8JhNhoAye9wAAAABJRU5ErkJggg=='); |
@@ -46,8 +46,8 @@ const ColorMapNames = [ | ||
'Purples', | ||
'Oranges', | ||
'PuBu', | ||
'BuPu', | ||
'BuGn', | ||
'GnBu', | ||
'PuRd', | ||
// 'Oranges', | ||
// 'PuBu', | ||
// 'BuPu', | ||
// 'BuGn', | ||
// 'GnBu', | ||
// 'PuRd', | ||
'RdPu', | ||
@@ -54,0 +54,0 @@ 'RdOr', |
{ | ||
"name": "itk-viewer-color-maps", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Color maps for itk-viewer", | ||
@@ -5,0 +5,0 @@ "module": "./dist/index.js", |
@@ -10,1 +10,15 @@ # itk-viewer-color-maps | ||
## Build for development | ||
``` | ||
npm run build | ||
npm run build:colormaps | ||
npm run start | ||
``` | ||
goto http://localhost:8887/ and copy to `ColorMapIcons.ts` and | ||
``` | ||
npm run build | ||
``` |
@@ -92,14 +92,2 @@ const ColorMapIcons = new Map<string, string>() | ||
ColorMapIcons.set('Oranges', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAFCAYAAAAZiY8XAAAAAXNSR0IArs4c6QAAAIRJREFUOE/VU9EOgCAIPNT+yl/0i8tqEBQP1tbmmj0wxiHgDY5qyRtCBGKCeG+RY4dL7DCfl3oz66e1Z05rbRZpP+eJ+zdwmcu45AJAbaMb3N5TLXntS3g6PuRJDka49iWsW00JoDE3vPQl/HLDLAtcp/3FSc+PhPkcTVO/0TBrnZo63wElKBNSL+Ki1gAAAABJRU5ErkJggg=='); | ||
ColorMapIcons.set('PuBu', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAFCAYAAAAZiY8XAAAAAXNSR0IArs4c6QAAAJlJREFUOE/lU0EOwyAMi5Pv98yT+ql2axUnMLROExK9TDtUDsREmNpYynrAIFAVJUJgSuQ6a0dlL7iOvuaHQFNpddtjTxrPGj/2LM/WOex3Mz9xOA8Q+FlIYl9L3J+cyk1cyvr8N8GPacH5mr/yh/cxwUZr3mZpC4t9s7Tb2635zpm19DYm+JrheqFrhpXZeuXvvgy7eExk+AQhAhOn78L49wAAAABJRU5ErkJggg=='); | ||
ColorMapIcons.set('BuPu', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAFCAYAAAAZiY8XAAAAAXNSR0IArs4c6QAAAIRJREFUOE/lk0sOgCAMRGeKR/ZSnsYD+Q0tLZK4w426osybkhQYjtN8DCSSEImA17oWfSAKZ/CrV9RbPdYHqK7nttx04yKMlUSzr9x0Zr/2IOrck3VjXle/82DjNO9/G3jrGjgRgne98Ho/sMQ3/dqXXrpeuGSwZtgv6oEMe75Ltp/I8AlQcROs+Zl2nAAAAABJRU5ErkJggg=='); | ||
ColorMapIcons.set('BuGn', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAFCAYAAAAZiY8XAAAAAXNSR0IArs4c6QAAAIxJREFUOE/lU0kKgEAMSzr+2u959EeupFVHFEFQRPFQ0h1KGpZ1NSQOkBVCC19mB/m5Hj1EImG0lT/nMi59iF7NUIaYEypWzaMJqb3KbPI+s6op9k7HqbbZ7zNlXfV/O7jbHwwk9rcwXIgZIrP/AobbQ4b13ti/+tdfurn80hb6yXp+SsMJBoSWT2p4BIvMXWaJdZWAAAAAAElFTkSuQmCC'); | ||
ColorMapIcons.set('GnBu', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAFCAYAAAAZiY8XAAAAAXNSR0IArs4c6QAAAJRJREFUOE/lU1sOgzAM86Nn5WSchGuNPZS0wJimDSQ0CU39cOqkH25sdkN/LxQsY0HDEkyjrFAoMryaV33H6DXM/huu8dO8SJCE4kQNJopa6qhY+8nOiDYTiOQrAvp074b+9m+Cr9sFTxt/dsT5NjxuFywUG8bxgh1e/JGlL7sEf8uwhJIf8prhyD6T35vhzPRBGX4AV9YTp+v+LPwAAAAASUVORK5CYII='); | ||
ColorMapIcons.set('PuRd', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAFCAYAAAAZiY8XAAAAAXNSR0IArs4c6QAAAHxJREFUOE/lU8sOwCAIa9H9637Lr/SwZ0QWzebJg0u2AynUQiQNjHM44Al4ARO6nCvnCFZ5UyOmE+TeFMrBMNdU/qYRAVLQ0Go++NTb0JJQLa932qyC1NlVHeewNxee7KMfXHgb67AU919yeP2bw8tYh6s773G4vvmOGz4BDBUThB0mRnYAAAAASUVORK5CYII='); | ||
ColorMapIcons.set('RdPu', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAFCAYAAAAZiY8XAAAAAXNSR0IArs4c6QAAAJxJREFUOE/lU1sOwyAMsw07KvfjRt09usFEAlVZpWkf3aRpHyjkgVESm0vKtQahRMJseLI9fshFr6UEBgKi2dkXuIvD8nMdg6ARC46ljjnfHUvjD8Kx2A7cmu93wxxxy/WaJeXysuELUaXjMH644fu/bfj2+Q07HQelGy2x0fbLlL6mvJazNBybbvaaflfD7Q3Q9Dx0a0OZ9HyOhh+ypV5rlJGRwgAAAABJRU5ErkJggg=='); | ||
@@ -106,0 +94,0 @@ |
@@ -48,8 +48,8 @@ const ColorMapNames: string[] = [ | ||
'Purples', | ||
'Oranges', | ||
'PuBu', | ||
'BuPu', | ||
'BuGn', | ||
'GnBu', | ||
'PuRd', | ||
// 'Oranges', | ||
// 'PuBu', | ||
// 'BuPu', | ||
// 'BuGn', | ||
// 'GnBu', | ||
// 'PuRd', | ||
'RdPu', | ||
@@ -56,0 +56,0 @@ 'RdOr', |
@@ -1,2 +0,1 @@ | ||
import path from 'path' | ||
import fs from 'fs' | ||
@@ -3,0 +2,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46
24
953313
30878