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

Transfered JPEG file size limit? #15

Open
mortiy opened this issue Dec 30, 2023 · 1 comment
Open

Transfered JPEG file size limit? #15

mortiy opened this issue Dec 30, 2023 · 1 comment

Comments

@mortiy
Copy link

mortiy commented Dec 30, 2023

Hi,

I just wonder, what is the actual file size limit for the JPEG photo?

In the README you mention 65535 bytes (i.e. 65 KB) (which is pretty low for Wide size images), while in the optimizer code I do see max_size_kb=105 (i.e. 105 KB).

Where did this information about the limit come from?

I'm just about to buy an Instax Wide printer, but I'll be very disappointed if it really compresses the printed images that much.

@javl
Copy link
Owner

javl commented Jan 7, 2024

Where did this information about the limit come from?
The original values in this script come from analyzing the Android app, which takes your image and resizes it to be <= 65KB. However, users have experimented with other sizes (like the 105KB you see in the code) and have been able to send larger files as well. Though I'm not sure if this only works for specific models or for all (it makes sense the Wide or Square printers would use larger images than the Mini) and what the actual size limit is. It might be worth trying some other values and see how the printer will respond.

The mismatch between the 65KB in the readme and 105KB in the code simply comes from me forgetting to update the readme after someone found out you could use the 105KB value as well ;)

I do have to say the actual print quality is... not amazing. But it is not horrible either. The images tend to look a little blurry in my opinion, but they're still nice for the little gimmicky objects they are.

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