[FEATURE]: Make pasted / attached image fit below 5 MB #3736

Open
opened 2026-02-16 17:41:17 -05:00 by yindo · 3 comments
Owner

Originally created by @leeweisern on GitHub (Dec 21, 2025).

Originally assigned to: @rekram1-node on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Image

I hit this quite often on Mac, i am thinking if we can auto convert from png to jpeg or resize smaller with same aspect ratio etc so it is below 5 MB automatically

is this something opencode will consider implementing?

Originally created by @leeweisern on GitHub (Dec 21, 2025). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request <img width="736" height="237" alt="Image" src="https://github.com/user-attachments/assets/365702e8-bd7d-4918-af43-c75cd193c861" /> I hit this quite often on Mac, i am thinking if we can auto convert from png to jpeg or resize smaller with same aspect ratio etc so it is below 5 MB automatically is this something opencode will consider implementing?
yindo added the help-wanteddiscussion labels 2026-02-16 17:41:17 -05:00
Author
Owner

@aymuos15 commented on GitHub (Dec 22, 2025):

Could I try this?

I can experiment with a couple options and start with what I feel is best.

Or is there a recommended path you would suggest?

@aymuos15 commented on GitHub (Dec 22, 2025): Could I try this? I can experiment with a couple options and start with what I feel is best. Or is there a recommended path you would suggest?
Author
Owner

@leeweisern commented on GitHub (Dec 22, 2025):

Maybe re-use the permission dialog? So user knows it is happening and decide how to go about it

@leeweisern commented on GitHub (Dec 22, 2025): Maybe re-use the permission dialog? So user knows it is happening and decide how to go about it
Author
Owner

@aymuos15 commented on GitHub (Dec 23, 2025):

Sounds right. Thanks!

@aymuos15 commented on GitHub (Dec 23, 2025): Sounds right. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3736