We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi folks, so I have a sketch in Processing where i'm using a sensor to trigger a random fullscreen image array... the array looks like this:
image(images[(int)random(19)], width/2, height/2);
The trouble is I'm using large high-resolution image files at (2048 x 1536). Which is a bigger res than my screen.
So though it's central and I can adjust the size using the:
The sides of the images are lost off the edge of the screen (Doesn't show the complete image)
So essentially what I'd like to know is how to automatically scale the images to fit to screen?
Like when you have a fit to screen option when setting a desktop for example.
Thanks in advance (PLEASE HELP!)