Added command usage count to help, remove nonexistent commands from database, add build method to package.json

This commit is contained in:
TheEssem 2020-07-29 18:06:34 -05:00
parent f9c8d6b26d
commit 70c4ff298f
6 changed files with 21 additions and 9 deletions

View file

@ -20,7 +20,6 @@ class CaptionWorker : public Napi::AsyncWorker {
readImages(&frames, in_path);
size_t width = frames.front().baseColumns();
size_t height = frames.front().baseRows();
string query(to_string(width - ((width / 25) * 2)) + "x");
Image caption_image(Geometry(query), Color("white"));
caption_image.fillColor("black");

View file

@ -20,7 +20,6 @@ class CaptionTwoWorker : public Napi::AsyncWorker {
readImages(&frames, in_path);
size_t width = frames.front().baseColumns();
size_t height = frames.front().baseRows();
string query(to_string(width - ((width / 25) * 2)) + "x");
Image caption_image(Geometry(query), Color("white"));
caption_image.fillColor("black");
@ -31,7 +30,6 @@ class CaptionTwoWorker : public Napi::AsyncWorker {
coalesceImages(&coalesced, frames.begin(), frames.end());
int iterator = 0;
for (Image &image : coalesced) {
Image appended;
list<Image> images;

View file

@ -52,7 +52,7 @@ class SpinWorker : public Napi::AsyncWorker {
private:
string in_path, type;
int delay, wordlength, n;
int delay;
Blob blob;
};