The VBA code in question is:
Code: Select all
Range(<rangeObject>).CopyPicture xlScreen, xlPicture
With this data, ImageMagick returns:
Code: Select all
C:\test>convert clipboard:myimage -density 150 -units pixelsperinch testpls.png
convert.exe: no bitmap on clipboard `myimage' @ error/clipboard.c/ReadCLIPBOARDImage/138.
convert.exe: missing an image filename `testpls.png' @ error/convert.c/ConvertImageCommand/3016.
Code: Select all
i_view32 /clippaste /convert=testIV.png
Installed version is ImageMagick-6.7.5-0-Q16-windows.zip (portable package) on Windows 7 (x64), running Excel 2010 (32-bit).
Easiest way to reproduce is by opening Excel, putting some random data in a cell, selecting said cell, and in the VBA Immediate window running:
Code: Select all
Selection.CopyPicture xlScreen, xlPicture