Add files via upload

This commit is contained in:
Md Farhan Sajid 2022-10-02 14:34:11 +05:30 committed by GitHub
parent 6c6a236407
commit 19b317ad40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

BIN
scripts/png-to-pdf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

5
scripts/png-to-pdf.py Normal file
View File

@ -0,0 +1,5 @@
from PIL import Image
image1 = Image.open(r'C:\Users\user\Downloads\png-to-pdf.png')
impdf = image1.convert('RGB')
impdf.save(r'C:\Users\user\Downloads\png-to-pdf.pdf') # noqa