Unable to read/view PNG images #938

Closed
opened 2026-02-16 17:28:51 -05:00 by yindo · 8 comments
Owner

Originally created by @mikaelwills on GitHub (Jul 27, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Would be handy for opencode to view/read PNG's

Image
Originally created by @mikaelwills on GitHub (Jul 27, 2025). Originally assigned to: @adamdotdevin on GitHub. Would be handy for opencode to view/read PNG's <img width="754" height="830" alt="Image" src="https://github.com/user-attachments/assets/dc723fa3-c550-437d-8b25-25002604b974" />
yindo closed this issue 2026-02-16 17:28:51 -05:00
Author
Owner

@aeramu commented on GitHub (Jul 28, 2025):

^^

@aeramu commented on GitHub (Jul 28, 2025): ^^
Author
Owner

@vian21 commented on GitHub (Aug 8, 2025):

any updates on this issue?

@vian21 commented on GitHub (Aug 8, 2025): any updates on this issue?
Author
Owner

@slipstr28 commented on GitHub (Sep 24, 2025):

GLM 4.5 V :

I can see that the image is a PNG file with the following
characteristics:

• Dimensions: 649 x 800 pixels
• Color depth: 8-bit/color RGBA (with transparency)
• Format: Non-interlaced

However, I'm unable to view the actual content of the image since it's
a binary file. If you need me to analyze specific visual elements or
content within the image, you might want to:

  1. Convert it to a viewable format
  2. Provide a description of what you're looking for
  3. Use a different tool that can handle image analysis
@slipstr28 commented on GitHub (Sep 24, 2025): GLM 4.5 V : I can see that the image is a PNG file with the following characteristics: • Dimensions: 649 x 800 pixels • Color depth: 8-bit/color RGBA (with transparency) • Format: Non-interlaced However, I'm unable to view the actual content of the image since it's a binary file. If you need me to analyze specific visual elements or content within the image, you might want to: 1. Convert it to a viewable format 2. Provide a description of what you're looking for 3. Use a different tool that can handle image analysis 4.
Author
Owner

@jakegibson commented on GitHub (Nov 6, 2025):

Can confirm issue on:
Ghostty, arch, wayland, Opencode 1.0.29 across the handful of models I tried. Both copy paste and reading from file with @ didn't work.

@jakegibson commented on GitHub (Nov 6, 2025): Can confirm issue on: Ghostty, arch, wayland, Opencode 1.0.29 across the handful of models I tried. Both copy paste and reading from file with @ didn't work.
Author
Owner

@rekram1-node commented on GitHub (Nov 6, 2025):

@jakegibson what error are you seeing? What provider are u using?

@rekram1-node commented on GitHub (Nov 6, 2025): @jakegibson what error are you seeing? What provider are u using?
Author
Owner

@jakegibson commented on GitHub (Nov 6, 2025):

Still can't reference by file but pasting seems to have been a fixed between 1.0.29 and 1.0.35 using claude 4.5 (Big Pickle gives Bad Request still but not sure if its supposed to support). Sorry for the screenshot but the file reference crashes the terminal session to the point I couldn't copy/paste as text.

Image
@jakegibson commented on GitHub (Nov 6, 2025): Still can't reference by file but pasting seems to have been a fixed between 1.0.29 and 1.0.35 using claude 4.5 (Big Pickle gives Bad Request still but not sure if its supposed to support). Sorry for the screenshot but the file reference crashes the terminal session to the point I couldn't copy/paste as text. <img width="1748" height="1760" alt="Image" src="https://github.com/user-attachments/assets/57d2debc-4242-49a3-8341-daa198d98ccb" />
Author
Owner

@rekram1-node commented on GitHub (Nov 6, 2025):

wow

@rekram1-node commented on GitHub (Nov 6, 2025): wow
Author
Owner

@rekram1-node commented on GitHub (Nov 6, 2025):

im gonna close this issue and reopen one for urs

@rekram1-node commented on GitHub (Nov 6, 2025): im gonna close this issue and reopen one for urs
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#938