[GH-ISSUE #1526] llava:7b fails on SVG images #62869

Open
opened 2026-05-03 10:34:29 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @rumeshmadhusanka on GitHub (Dec 14, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1526

I ran llava:7b on a Mac M2. I tested with couple of SVG images from https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/ and https://www.svgrepo.com/svg/4733/samples.
All of them. failed with errors like

Couldn't process image: "invalid image type: text/xml; charset=utf-8"
Error: invalid image type: text/xml; charset=utf-8
Couldn't process image: "invalid image type: application/octet-stream"
Error: invalid image type: application/octet-stream

jpg images worked.

Originally created by @rumeshmadhusanka on GitHub (Dec 14, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1526 I ran llava:7b on a Mac M2. I tested with couple of SVG images from https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/ and https://www.svgrepo.com/svg/4733/samples. All of them. failed with errors like ``` Couldn't process image: "invalid image type: text/xml; charset=utf-8" Error: invalid image type: text/xml; charset=utf-8 ``` ``` Couldn't process image: "invalid image type: application/octet-stream" Error: invalid image type: application/octet-stream ``` jpg images worked.
GiteaMirror added the bug label 2026-05-03 10:34:29 -05:00
Author
Owner

@easp commented on GitHub (Dec 14, 2023):

Yeah, doesn't work with .heic (iPhone's preferred format) either.

<!-- gh-comment-id:1856387368 --> @easp commented on GitHub (Dec 14, 2023): Yeah, doesn't work with .heic (iPhone's preferred format) either.
Author
Owner

@N7-Hash commented on GitHub (Sep 20, 2024):

Can confirm it still doesn't work on .heic files ;(

<!-- gh-comment-id:2364699971 --> @N7-Hash commented on GitHub (Sep 20, 2024): Can confirm it still doesn't work on .heic files ;(
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#62869