Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Commit

Permalink
Use jimp-compact over jimp (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinjude authored Aug 19, 2022
1 parent 8a64817 commit d83186f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 595 deletions.
2 changes: 1 addition & 1 deletion lib/Potrace.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var Jimp = require('jimp');
var Jimp = require('jimp-compact');
var Bitmap = require('./types/Bitmap');
var Curve = require('./types/Curve');
var Point = require('./types/Point');
Expand Down
2 changes: 1 addition & 1 deletion lib/types/Histogram.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Histogram

var utils = require('../utils');
var Jimp = null; try { Jimp = require('jimp'); } catch(e) {}
var Jimp = null; try { Jimp = require('jimp-compact'); } catch(e) {}
var Bitmap = require('./Bitmap');

var COLOR_DEPTH = 256;
Expand Down
Loading

0 comments on commit d83186f

Please sign in to comment.