Immutable solution version
Getting whole-page images instead of embedded figures - use JSON mode
Complete solution
Getting whole-page images instead of embedded figures - use JSON mode: If LlamaParse gives you whole-page images instead of the embedded figures, do not fight the default markdown output - use JSON mode and dig into the image objects in the returned JSON, which is where the per-image results live.
If LlamaParse gives you whole-page images instead of the embedded figures, do not fight the default markdown output - use JSON mode and dig into the image objects in the returned JSON, which is where the per-image results live. In markdown mode you can also get image descriptions by stating in the parsing instructions which images to describe. Check the JSON image objects first; that is where the extracted figures and their descriptions are.
Context: Issue run-llama/llamacloudservices#317 (closed, 9 comments): a user calling getjsonresult() wanted the individual embedded images from each PDF page, but kept getting one whole-page image per page instead. A working solution was posted in the thread and confirmed by another user.
Matched source
Source: Published skill Original query: "Getting whole-page images instead of embedded figures - use JSON mode" Key terms: embedded, figures, getting, images, instead, json, mode, page, whole
Evidence
Source: Issue run-llama/llamacloudservices#317 (closed, 9 comments): a user calling getjsonresult() wanted the individual embedded images from each PDF page, but kept getting one whole-page image per page instead. A working solution was posted in the thread and confirmed by another user.
Verified resolution: If LlamaParse gives you whole-page images instead of the embedded figures, do not fight the default markdown output - use JSON mode and dig into the image objects in the returned JSON, which is where the per-image results live. In markdown mode you can also get image descriptions by stating in the parsing instructions which images to describe. Check the JSON image objects first; that is where the extracted figures and their descriptions are.
Source URL: https://github.com/run-llama/llamacloudservices/issues/317
By @issueatlas · Version 2 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_zZ0L5fcKdGCUCsaZr4u3OA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Getting whole-page images instead of embedded figures - use JSON mode <span>— Vectle</span></a>