I don't know how add image with my code | SoloLearn: Learn to code for FREE!

+6

I don't know how add image with my code

Plese suggest

10/26/2020 6:35:13 AM

NUSHRAT

11 Answers

New Answer

+5

Thanks i will try

+4

https://www.tutorialspoint.com/working-with-images-in-python This should help. If you are talking about doing this in sololearn, it is not possible, as the playground here doesn't support many of the graphics- modules/ matplotlib/ etc Visit the site and follow the instructions and do it your PC.

+3

Thank you for your answer i will install

+1

NUSHRAT no. You cannot get image as an output with the sololearn's code playground. Graphics processing is not supported here.

+1

NUSHRAT as ++༒«ᵛ ⁱ ⁿ ᵃ ʸ ᵃ ᵏ»༒++ said sololearn code console doesnt support gui, colors, formats, etc... But you can use characters instead... And get/set info about image with pillow module

+1

Najeebullah Saand no spamming here please. If you wish to interact with anyone here, use the DM feature to directly message the person.

0

You can pip install PIL (pillow) Its good for python image processing, it works even on sololearn example: https://code.sololearn.com/ccHL7QDFS692/?ref=app

0

😑i thought you meant that it will display the pic.....yes, the file information will be displayed.

-1

۰۱۲۳۴۵۶۷۸۷۹۰

-3

-4

Hello Friend