If I'm using an image and I want to know the image's size <strong>in the file</strong>.
There is a function to get <strong>the picture's</strong> height and width ?
EDIT: Of course I loaded the image to the program with pygame.image.load(PATH).Answer1:
I believe you need to load the image as a Surface before you can get its width and height. You do that with
foo = pygame.image.load(PATHNAME).
Then you can get the width and height by creating a Rectangle with foo.get_rect() and asking the rectangle.