Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

library problem #1

Open
e135193 opened this issue Jul 20, 2022 · 1 comment
Open

library problem #1

e135193 opened this issue Jul 20, 2022 · 1 comment

Comments

@e135193
Copy link

e135193 commented Jul 20, 2022

There is a problem in the library

from JPEGdecoder import jpeg

def draw() :
    print('decode')

jpeg('image.jpeg', callback=draw).render(32, 32)

Traceback (most recent call last):
  File "<stdin>", line 12, in <module>
  File "JPEGdecoder.py", line 613, in processFile
MemoryError: memory allocation failed, allocating 128 bytes
@remixer-dec
Copy link
Owner

Hi. You need at least 80kb of free RAM to use the library. As mentioned in README, it is only capable of rendering only small images which can fit in RAM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants