-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Problem (one or two sentences)
Large images can waste tokens when sent to the LLM, even when a lower-resolution version would be sufficient for analysis. This is especially relevant for screenshots used to report UI or display issues.
Context (who is affected and when)
This affects users who share screenshots for debugging, UI review, layout issues, or general visual analysis. It is most noticeable when the original image is very large, such as high-resolution desktop screenshots, even though the relevant information would still be clear at a smaller size.
Desired behavior (conceptual, not technical)
Provide a configurable preprocessing step that downscales images before they are sent to the LLM. Users should be able to choose a target size or maximum dimensions, while preserving aspect ratio(from Settings). The workflow should also make it easy to preview the resized image and confirm that text and UI details remain legible. A smart option that adapts image size to the visible chat or preview area would make the feature even more useful(on the fly modification).
Constraints / preferences (optional)
- Preserve original aspect ratio
- User-configurable target dimensions in settings
- Optional adaptive sizing based on chat/preview display area
- Preview resized image before submission
- Prioritize readability over maximum compression
Request checklist
- I've searched existing Issues and Discussions for duplicates
- This describes a specific problem with clear context and impact
Roo Code Task Links (optional)
No response
Acceptance criteria (optional)
No response
Proposed approach (optional)
No response
Trade-offs / risks (optional)
No response