isssue with Colorspace #101
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
when i put Colorspace as L in some images, it automatically croped my images. idk why?
Me neither. Unfortunately I don't have a crystal ball that can tell me which image you used as input, so unless you give me enough information that lets me reproduce your issue I'm afraid I cannot be of any help.
this is my code
tt= ['/home/warlord/Downloads/22.jpg']
import img2pdf
with open("name.pdf", "wb") as f:
f.write(img2pdf.convert(tt, colorspace=img2pdf.Colorspace.L))
Input file and output file are in attachment
err... what do you expect to happen if you specify the
L
colorspace for a jpeg image that is clearly RGB?