Skip to content

Unsure if image analysis is supported in OpenCode (Windows 11, WezTerm & PowerShell) #2937

Closed as duplicate

Description

@thecuriousair598

I am new to OpenCode and I’m not sure whether screenshot/image analysis is actually supported or if I need to configure something locally. When I try, I consistently get a message saying the assistant cannot analyze images. I tried with different models and in both WezTerm and native PowerShell on Windows 11. Reporting here for clarification, as I could not find anyone else mentioning this issue, and maybe other new users may face the same question.

Environment

OS: Windows 11 (fully updated)

Terminal(s): WezTerm (latest) and Windows Terminal / native PowerShell

OpenCode Models: Tested with multiple (including Claude Sonnet 4.5)

Location: Australia/Sydney (UTC+10)

Plan: ChatGPT Plus

Steps to Reproduce

Start an OpenCode session on Windows 11.

Attach a JPG/PNG screenshot for analysis.

Prompt the assistant to “analyze the screenshot.”

Observe the reply.

Actual Result
Instead of analyzing the screenshot, the assistant replies:

I apologize, but I cannot directly view or analyze image files like JPG screenshots. My tools only allow me to read text-based files, not binary image files.

Expected (Not sure)

If image analysis is supported: I expected the assistant to process the screenshot directly.

If it requires setup: Clear documentation or instructions to enable the feature.

If not supported: A clearer message confirming the limitation.

Impact
Blocks me from using screenshots for troubleshooting/debugging, which I thought was part of the feature set.

Notes

  • The reply also included a line like: Plan claude-sonnet-4-5
  • I’m reporting mainly for clarification — not sure if it’s a bug, misconfiguration, or expected behaviour.
Image

Activity

  1. github-actions commented on Oct 2, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. rekram1-node commented on Oct 2, 2025

    @rekram1-node
    Contributor

    @thecuriousair598 so there is some better support we need to do, we may even have something we need to fix that is specific to windows but @itsrainingmani would know status of it, put currently:

    only way to give images to the llm is via:
    A) @ referencing it your prompt and selecting it as an "attachment"
    B) drag & drop / paste the image into input and it should be linked as attachment

    I have a branch where i allow LLM to use the read tool to read images but I need to clean it up a bit before we can merge it

  3. rekram1-node commented on Oct 2, 2025

    @rekram1-node
    Contributor

    We actually have issues tracking both of these things, I will link them here but I will close this as a duplicate in meantime

  4. rekram1-node commented on Oct 2, 2025

    @rekram1-node
    Contributor

    reading images via read tool: #2657

    window image pasting issues: #2878

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions