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

How to use pbm2lpbm #25

Open
bcarter opened this issue May 25, 2016 · 0 comments
Open

How to use pbm2lpbm #25

bcarter opened this issue May 25, 2016 · 0 comments

Comments

@bcarter
Copy link

bcarter commented May 25, 2016

I have a valid .pbm P4 image.

I've tried to run pbm2lpbm several ways that don't work.

  1. ./pbm2lpbm myfile.pbm
  2. ./pbm2lpbm $(cat myfile.pbm)
  3. cat myfile.pbm | ./pbm2lpbm
  4. cat myfile.pbm | pbm2lpbm

I finally got it working with this command.
./pbm2lpbm < myfile.pbm > myfile.lpbm

Is this the best way to call it?

I don't know c well enough to make a change but I think the first option above would be the most obvious. Pass in the filename to be converted and it automatically makes a new .lpbm file with the same name.

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

1 participant