I tried this:
import pygame
import urllib.request
page = urllib.request.urlopen("http://s.gjcdn.net/img/logo-small-3.png")
image = page.read()
pygame_image = pygame.image.frombuffer(image, (196, 25), "RGB") #(196, 25) are checked on image original
But when I run it I get ValueError: Buffer length does not equal format and resolution size
Is there any way to do this (without saving file to the disk), or maybe I did something wrong in my code?
I would also like to know how to know size of image (because I mostly can't know size of image)?