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

[Bug] ios使用gpt4-turbo无法上传相册中的照片 #4627

Open
1 of 3 tasks
maxduke opened this issue May 6, 2024 · 5 comments
Open
1 of 3 tasks

[Bug] ios使用gpt4-turbo无法上传相册中的照片 #4627

maxduke opened this issue May 6, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@maxduke
Copy link

maxduke commented May 6, 2024

Bug Description

ios使用gpt4-turbo模型时,选择相册中手机拍摄的照片后,编辑框中的图片预览显示为空。选择截图或者文件中jpg格式图片可以正常。怀疑可能是图片格式位HEIC的原因。

Steps to Reproduce

  1. ios中打开PWA的nextchat
  2. 新建gpt4-turbo模型对话
  3. 选择相册中手机拍摄的照片后
  4. 编辑框中的图片预览显示为空

Expected Behavior

能正常显示和发送iOS中从相册上传的拍摄的照片,格式可能为HECI。

Screenshots

No response

Deployment Method

  • Docker
  • Vercel
  • Server

Desktop OS

No response

Desktop Browser

No response

Desktop Browser Version

No response

Smartphone Device

iPhone 15 Pro

Smartphone OS

iOS 17.4

Smartphone Browser

PWA

Smartphone Browser Version

No response

Additional Logs

No response

@maxduke maxduke added the bug Something isn't working label May 6, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] ios cannot upload photos in the album using gpt4-turbo

@Dean-YZG
Copy link
Contributor

感谢反馈,目前看,应该是和图片格式heic有关,代码底层使用canvas辅助压缩图片,但是,目前canvas还不支持 heic 格式

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Thanks for the feedback. At present, it seems that it is related to the image format heic. The bottom layer of the code uses canvas to assist in compressing images. However, canvas does not currently support the heic format.

@Dean-YZG
Copy link
Contributor

#4671 在这个pr中,识别了heic,并转化为 jpeg进行上传

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


#4671 In this pr, heic is identified and converted into jpeg for uploading

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

No branches or pull requests

3 participants