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
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
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