forked from py-pdf/pypdf
-
Notifications
You must be signed in to change notification settings - Fork 61
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
ValueError: not enough values to unpack (expected 1, got 0) #105
Comments
@ms3534 , also this code is a minimized test version
|
Thanks @pubpub-zz, added a ticket on PyPDF2: py-pdf#1145 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
import os
from PyPDF4 import PdfFileReader, PdfFileMerger
from PIL import Image
from PIL import ImageFile
import argparse
import string
import collections
def png_to_pdf():
merger = PdfFileMerger()
merger.append(PdfFileReader(open('C:\file-0.pdf', 'rb')))
def main():
png_to_pdf()
main()
file-0.pdf
The text was updated successfully, but these errors were encountered: