Welcome to the CSC Q&A, where you can get help (and share your knowledge) about computer science!

How are people resizing/cropping larger resolution photos?

+8 votes
Manually? implemention through the gamebuilder? writing a separate program?
asked Oct 11 in CSC 285 (F17) by Brian Hinsberger (100 points)

3 Answers

0 votes
Currently we have a method in our SlideScreen class (the slide that actually displays stuff) that decides if an image is too large or too small to fit a defined area and we proportionally scale the image up or down based on being too large or too small. I know Stonedahl mentioned some problems with manually scaling images causing fuzziness/blurring so we may look into a different way later.
answered Oct 11 by Brandon Thompson (100 points)
Aren't we supposed to not scale images for the fuzziness reason? I thought Stonedahl said to only display images actual size.
If you go to image properties and divide the width and height by the same ration. it might help to make the image less fuzzy.
Do you mean in the actual screen class when the image is drawn? We currently do that (I think to 450x450) and the image is fuzzy.
0 votes
We are doing it manually but I think having a method like Brandon said is the best option.
answered Oct 12 by Zineb Zirari (100 points)
0 votes
If you go to image properties and divide the width and height by the same ration. it might help to make the image less fuzzy.
answered Oct 13 by Faisal Nawaz (100 points)
...