Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

max-viz-utils

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

max-viz-utils - npm Package Compare versions

Comparing version 0.0.22 to 0.0.23

2

package.json
{
"name": "max-viz-utils",
"version": "0.0.22",
"version": "0.0.23",
"description": "Visualization utilities for deep learning models.",

@@ -5,0 +5,0 @@ "main": "dist/bundle.js",

@@ -96,6 +96,6 @@ // MAX Image Segmenter ColorMap

const { width, height } = canvas.bitmap
let fontType = getScaledFont(width, 'black');
//let fontType = getScaledFont(width, 'black');
console.log('start font load')
// const font = await Jimp.loadFont('https://raw.githubusercontent.com/kastentx/max-viz-utils/master/fonts/open-sans/open-sans-32-black/open-sans-32-black.fnt');
const font = await Jimp.loadFont(fontType);
const font = await Jimp.loadFont('https://raw.githubusercontent.com/kastentx/max-viz-utils/master/fonts/open-sans/open-sans-32-black/open-sans-32-black.fnt');
//const font = await Jimp.loadFont(fontType);
console.log('end font load')

@@ -102,0 +102,0 @@ // const padSize = getPadSize(width);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc