We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: 1.3.6 CUPS.org User: martin.pitt.canonical
"lpr file.pbm" currently only produces garbage output for plain PBM (type "P1") files, and inverted output for normal PBM (type "P4") files.
Patch by Eugeniy Meshcheryakov. I tested it with the two attached example files.
The text was updated successfully, but these errors were encountered:
CUPS.org User: mike
Fixed in Subversion repository.
Sorry, something went wrong.
"str2746.patch":
--- image-pnm.c (revision 7370) +++ image-pnm.c (working copy) @@ -178,6 +178,11 @@ switch (format) { case 1 :
for (x = img->xsize, inptr = in; x > 0; x --, inptr ++)
if (fscanf(fp, "%d", &val) == 1)
*inptr = val ? 0 : 255;
break;
*inptr = 0;
else *inptr = 255;
else
*inptr = 0; if (bit > 1) bit >>= 1;
No branches or pull requests
Version: 1.3.6
CUPS.org User: martin.pitt.canonical
"lpr file.pbm" currently only produces garbage output for plain PBM (type "P1") files, and inverted output for normal PBM (type "P4") files.
Patch by Eugeniy Meshcheryakov. I tested it with the two attached example files.
The text was updated successfully, but these errors were encountered: