Bug introduced in V9.0 or earlier and persisting through V11.2
pic2 = ImageResize[
ImageCrop@Rasterize@Graphics@Disk[],
{Automatic, 40}]
Grid[{{pic2}}]
This is just annoying...
Win 10 V10.3.1
Q: so, is there any quick fix? Have I missed something obvious?
p.s. e.g. Row works well but it is not Grid :-)
A support case with the identification [CASE:3522370] was created:
Thank you for contacting Wolfram Technical Support.
I have filed a report regarding the behavior you describe. The appropriate development team will be able to review the issue and hopefully implement a fix in a future version.
Fortunately this is not an issue with the object itself, but with its visual representation in the Mathematica front end. Although not a practical workaround, if you increase your magnification from 100% to 200%, you will notice the problem no longer persists. Similarly, if I printed the notebook demonstrating the issue I did not experience the clipping.
If you are able to get away without using ImageCrop, the issue does not seem to present itself. Without seeing your actual application it is difficult to provide a solution that will work in any scenario and still maintain the exact results you desire.



Spacings. Unfortunately,Spacings does not repair the original problem; e.g.,Grid[{{pic2}}, Frame -> All, Spacings -> {1, 1}]` – bbgodfrey Jan 28 '16 at 12:10First@Grid[{{pic2}}]– Hubble07 Jan 28 '16 at 12:11Grid. – bbgodfrey Jan 28 '16 at 12:13pic2as given, e.g. from web page. And I suppose it doesn't work, just the difference isn't visible due to the white frame. – Kuba Jan 28 '16 at 12:20Grid[{{pic2}}, Frame -> All, Spacings -> {1, 1}, Background -> Blue]shows that the circle is not centered vertically inGrid, andAlignmenthas no effect. Even stranger, if you executeGrid[{{pic2}}, Frame -> All, Spacings -> {1, 1}, Background -> Blue]again on the next line, the first image changes! – bbgodfrey Jan 28 '16 at 12:28Gridshows the circle correctly with or without theFrameoption – Jason B. Feb 02 '16 at 08:00<br>works without needing to put an empty line in the markdown source. – Szabolcs Feb 04 '16 at 13:13