arXiv / arXiv/html_feedback

\includegraphics does not use trim and clip correctly

Open
#4,520 2 comments 0 reactions 0 assignees View on GitHub
bug imagemagick regression
Dominant language
No language data
Stars
42
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### Description

I used the includegraphics trim and clip options to crop a png image, but it seems the wrong part of the image is shown in the html version.

### (Optional:) Please add any files, screenshots, or other information here.

_No response_

### (Required) What is this issue most closely related to? Select one.

Figures

### Internal issue ID

179bd1cf-3e2f-49f9-b64e-db0fa893929d

### Paper URL

https://arxiv.org/html/2508.06316v1

### Browser

Firefox/140.0

### Device Type

Desktop

Contributor guide

Open the contributing guide

Research direction

Use the linked paper URL as the reproduction case and compare its HTML figure with the source’s \includegraphics trim and clip options. Trace the figure-rendering path that translates these options, then verify the crop against the expected source image and add a regression check if the repository provides one.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, latex
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.