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

HEIC/JPEG XL files not supported by the server? #5926

Open
g123k opened this issue Nov 24, 2024 · 2 comments
Open

HEIC/JPEG XL files not supported by the server? #5926

g123k opened this issue Nov 24, 2024 · 2 comments
Labels

Comments

@g123k
Copy link
Collaborator

g123k commented Nov 24, 2024

Hi everyone!

I need to investigate this, but on iPhones, photos have the HEIC or JPEG XL formats.
When taking a photo, there's no issue.
But selecting one from the gallery will be refused by the server.
It seems that we have to convert them before sending them to the server.

@teolemon
Copy link
Member

teolemon commented Nov 24, 2024

@g123k
Copy link
Collaborator Author

g123k commented Nov 24, 2024

I have the following error:

Exception: Bad response (500): <h1>Software error:</h1>
<pre>Illegal division by zero at /srv/off/lib/ProductOpener/Images.pm line 1352.
</pre>
<p>
For help, please send mail to the webmaster (<a href="mailto:[email protected]">[email protected]</a>), giving this error message 
and the time and date of the error.

</p>

With the following picture: https://drive.google.com/file/d/1iMwOScee68OgXPQGDxhHr_tqJ81NThN6/view?usp=sharing
An issue is opened on the server: openfoodfacts/openfoodfacts-server#11044

@g123k g123k removed their assignment Nov 24, 2024
@g123k g123k changed the title HEIC/JPEG XL files not supported by the server HEIC/JPEG XL files not supported by the server? Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 💬 To discuss and validate
Development

No branches or pull requests

2 participants