Reputation: 950
I have read a data array into pillow via the Image.fromarray
method. While I am able to bring it into pillow and successfully paste it onto another image in memory, img.resize((1920,1080))
and img,thumbnail((1920, 1080))
have no effect (and no error).
Upvotes: 0
Views: 280
Reputation: 1672
That's because this operations create copies affected by the corresponding transformation. Have you tried img = img.resize((1920, 1080))
?
Upvotes: 1