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

[iOS?]0kBのJPEGが添付される #675

Closed
Npepperlinux opened this issue Nov 12, 2024 · 4 comments · Fixed by #678
Closed

[iOS?]0kBのJPEGが添付される #675

Npepperlinux opened this issue Nov 12, 2024 · 4 comments · Fixed by #678
Labels
bug Something isn't working
Milestone

Comments

@Npepperlinux
Copy link
Contributor

Related to #659 ?

@shiosyakeyakini-info shiosyakeyakini-info added the bug Something isn't working label Nov 12, 2024
@shiosyakeyakini-info shiosyakeyakini-info added this to the Miria v2.0.2 milestone Nov 12, 2024
@shiosyakeyakini-info
Copy link
Owner

手元のiOS 17.6.1でHEIC→JPEGとそのままJPEGを試す限りは普通にどちらもWindowsから見えた

@4ster1sk
Copy link
Contributor

iOS18.1の標準カメラで撮影したHDR/LIVEのHEICも普通に見える

@shiosyakeyakini-info
Copy link
Owner

このアプリでJPEGにする画像がだめらしい(なんで……)
https://apps.apple.com/jp/app/imageresize/id596254725

@4ster1sk
Copy link
Contributor

4ster1sk commented Nov 12, 2024

JPEGのヘッダーにEXIFフィールドが存在していて、かつ向き情報が存在していない場合のみ起きる。
空のExifDataを渡した場合、フィールド長以後が書き込まれず
次のマーカー識別子が書き込まれてしまい、JPEGヘッダーが破損してしまっていた。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants