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

Written file is many times larger than the original? #54

Open
manuelpoelzl opened this issue Sep 2, 2022 · 0 comments
Open

Written file is many times larger than the original? #54

manuelpoelzl opened this issue Sep 2, 2022 · 0 comments

Comments

@manuelpoelzl
Copy link

Hi, I have a problem, namely that the image written by Jimp-compact is many times larger than the original.
Here is my original file, which is slightly larger than 1MB.
Screenshot_1

The buffer length is also OK so far:
Screenshot_2

Now, however, as soon as I read in the file using Jimp, very questionable buffer sizes are coming up:
Screenshot_3

Thus, the written file then has a size of over 7MB, which is pretty much 7x the size of the original:
Screenshot_4

I am now wondering how this can be, unfortunately the documentation of jimp is not really informative in terms of options and customization of processes, so I hope someone here can help me.

Thanks in advance!

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

1 participant