Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+4 votes

I'm trying to make an image smaller is it possible to resize and what would be the best way to go about it.

asked in CSC201 Spring 2021 by (1 point)

3 Answers

+3 votes
Best answer

you can use setShapeSize(newShapeWidth, [newShapeHeight]) or scale(scalingFactorX, [scalingFactorY]) to resize any GraphicObject (including Image), which are stated in the Graphics2_Reference document.

answered by (1 point)
selected by
+2 votes

You can also use adobe photoshop to resize the pixels based on the window width and window height that you have

answered by (1 point)
+2 votes

You can also go to https://www3.lunapic.com/editor/ and resize the image before importing it into python!

answered by (1 point)

That link is very helpful.


That's what I used to resize my gifs for my project.