engrafo icon indicating copy to clipboard operation
engrafo copied to clipboard

Images are cropped incorrectly

Open bfirsh opened this issue 8 years ago • 7 comments

  • [x] http://localhost:8010/html/1611.07828v2/
  • [x] Related - badly cropped figures https://www.arxiv-vanity.com/papers/1708.08035v2/
  • [x] This seems to be a case where images are both cropped too small and have unnecessary whitespace: https://www.arxiv-vanity.com/papers/1710.06969/
  • [x] Images badly cropped: https://www.arxiv-vanity.com/papers/1701.03757v1/

bfirsh avatar Jul 31 '17 16:07 bfirsh

I think this is normally SVGs? Here's a bit of code which could trim them for us: https://gist.github.com/john-doherty/2ad94360771902b16f459f590b833d44

bfirsh avatar Aug 28 '17 12:08 bfirsh

Could also use pdfcrop http://alexsleat.co.uk/2011/01/25/using-pdfcrop-to-remove-white-margins-ubuntu/

bfirsh avatar Aug 29 '17 17:08 bfirsh

This seems to be a case where images are both cropped too small and have unnecessary whitespace: https://www.arxiv-vanity.com/papers/1710.06969/

bfirsh avatar Oct 23 '17 12:10 bfirsh

Title updated to reflect that images are just cropped badly - not just about whitespace.

bfirsh avatar Oct 23 '17 22:10 bfirsh

No longer seems to be an issue.

bfirsh avatar Nov 22 '18 10:11 bfirsh

Continues to be an issue. Some clues here: https://github.com/arxiv-vanity/engrafo-issues/issues/282

bfirsh avatar Mar 13 '19 21:03 bfirsh

https://www.arxiv-vanity.com/papers/1808.05174/

Perhaps this could be solved when we switch to vector graphics. See #247

bfirsh avatar Mar 13 '19 22:03 bfirsh