Re: [pygame] Out of memory loading very large image

2016-09-29 Thread Peter Finlayson
In the best case, loading the raw data out of a 41141 x 3317 pixel image will use ~409 MB of memory. In practice, it will use a lot more than that for various reasons. For example, creating an image of that size in GIMP will use ~1.5 GB of memory. How much memory do you have in your system? Re

Re: [pygame] Out of memory loading very large image

2016-09-29 Thread Martin Kühne
On Thu, Sep 29, 2016 at 10:54 AM, shortcipher wrote: > I get "pygame.error Out of memory" on pygame.image.load() of a 55.1 MB JPG > with 41141 x 3317 pixels. > What is the biggest image pygame can load? > Is there any way of allocating more memory so that this image can be loaded? > That's a 520

[pygame] Out of memory loading very large image

2016-09-29 Thread shortcipher
I get "pygame.error Out of memory" on pygame.image.load() of a 55.1 MB JPG with 41141 x 3317 pixels. What is the biggest image pygame can load? Is there any way of allocating more memory so that this image can be loaded? -- View this message in context: http://pygame-users.25799.x6.nabble.com/O