Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing width/contrast #9

Closed
hamm3rhand opened this issue May 6, 2022 · 4 comments
Closed

changing width/contrast #9

hamm3rhand opened this issue May 6, 2022 · 4 comments

Comments

@hamm3rhand
Copy link

what is the full command to change width and contrast? i can consistently get a 32 width prime, but I always get errors when trying to change the width.

for example, when I try "pictoprime --width = 64" then i get: Error: Either a number or an image must be specified.

i've tried pretty much every variation i can think of for denoting a number and it usually gives that error.

pictoprime --width (nothing afterwards) this will give error: option '--width ' argument missing

So i tried "pictoprime --width <64>" but that gave the following message
At line:1 char:20

  • pictoprime --width <64>
  •                ~
    

The '<' operator is reserved for future use.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : RedirectionNotSupported

I've also tried editing the image javascript file directly but that doesn't seem to change anything. any thoughts? i've tried updating, uninstall and reinstall, nothing seems to work. The pictures look good but would like to get them a bit bigger.

very cool program by the way!

@TotalTechGeek
Copy link
Owner

TotalTechGeek commented May 6, 2022

Hi,

Could you try pictoprime --width 64?

Thanks!

@hamm3rhand
Copy link
Author

that gives the error as follows (username removed)

Error: Either a number or an image must be specified.
at main (file:///C:/Users/****/AppData/Roaming/npm/node_modules/pictoprime/index.js:38:50)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

@TotalTechGeek
Copy link
Owner

You'll need to specify an image (with -i imagename) or a long number (with -n 77777777777777777777777777777777777777777777777777777777777777777777777777777)

@hamm3rhand
Copy link
Author

oh, i see, you do both operations in the same command. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants