I need to have an image at a different size as it is too small because I made it a pixel art, I didn't use an image editor to resize, as it would make it blurry. I need to resize it to fit the window.
My code is:
PImage logo;
int logoX = 250;
int logoY = 250;
void setup()
{
  //Canvas
  size(500, 610);
  //Background
  background(143, 132, 205);
  //Create the logo
  logo = loadImage("Tetris Java.png");
  image(logo, logoX, logoY);
}
I don't need exact dimensions, but they would be helpful.
 
    