Help me | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Help me

Shorter you need to create a file image, but its code is too big and it's not convenient to insert it into the code (and errors go) help me (image format jpg)

2nd Jul 2017, 7:12 PM
Timka
Timka - avatar
2 Answers
+ 1
thank you
2nd Jul 2017, 7:54 PM
Timka
Timka - avatar
0
I would just change it to a PNG, and if using pygame, as I believe you are, just decrease the default screen resolution. Do you mean the image is too large in width and height or is too high resolution to load fast? either way, this site is good for resizing pngs: http://resizeimage.net/. At the end choose normal compression.
2nd Jul 2017, 7:49 PM
Isaac Pace
Isaac Pace - avatar