[Bug] Claude attempts to read image file instead of piping to ImageMagick for processing
Resolved 💬 4 comments Opened Nov 30, 2025 by buggtb Closed Dec 4, 2025
Bug Description
I tried to get Claude to move an image from my Mac desktop to a folder and it kept saying the image was too large. Double press the scope to go back and try again with a smaller image. But I wasn't trying to open it inside of Claude. I also asked it to use ImageMagick to resize it and it just said the same thing again. So it seems to be reading it using whatever read stuff it has. But I just wanted it to dump it through ImageMagick rather than try and open it
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.0.55
- Feedback ID: d591d3ab-0fb4-4b03-a2f4-c321f3579b98
Errors
[{"error":"Error: Could not load the \"sharp\" module using the darwin-arm64 runtime\nPossible solutions:\n- Ensure optional dependencies can be installed:\n npm install --include=optional sharp\n- Ensure your package manager supports multi-platform installation:\n See https://sharp.pixelplumbing.com/install#cross-platform\n- Add platform-specific dependencies:\n npm install --os=darwin --cpu=arm64 sharp\n- Consult the installation documentation:\n See https://sharp.pixelplumbing.com/install\n at <anonymous> (/$bunfs/root/claude:859:17571)\n at <anonymous> (/$bunfs/root/claude:11:356)\n at <anonymous> (/$bunfs/root/claude:860:88)\n at <anonymous> (/$bunfs/root/claude:11:356)\n at <anonymous> (/$bunfs/root/claude:860:79804)\n at <anonymous> (/$bunfs/root/claude:11:356)\n at <anonymous> (/$bunfs/root/claude:860:79980)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-30T17:47:26.896Z"},{"error":"TypeError: G is not a function. (In 'G(R)', 'G' is an instance of Object)\n at zo (/$bunfs/root/claude:860:81025)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-30T17:47:26.898Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.2.content.1.tool_result.content.0.image.source.base64: image exceeds 5 MB maximum: 9678912 bytes > 5242880 bytes\"},\"request_id\":\"req_011CVeVajTdXzdDc6aZCPWN2\"}\n at generate (/$bunfs/root/claude:415:9441)\n at makeRequest (/$bunfs/root/claude:1262:5434)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-30T17:47:36.946Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.2.content.1.tool_result.content.0.image.source.base64: image exceeds 5 MB maximum: 9678912 bytes > 5242880 bytes\"},\"request_id\":\"req_011CVeVeQo5uzi1qBcv2FG9s\"}\n at generate (/$bunfs/root/claude:415:9441)\n at makeRequest (/$bunfs/root/claude:1262:5434)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-30T17:48:26.928Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.2.content.1.tool_result.content.0.image.source.base64: image exceeds 5 MB maximum: 9678912 bytes > 5242880 bytes\"},\"request_id\":\"req_011CVeVgBHHiCFcXxtSMCBCf\"}\n at generate (/$bunfs/root/claude:415:9441)\n at makeRequest (/$bunfs/root/claude:1262:5434)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-30T17:48:50.891Z"}]This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗