JBIDE-15003 CordavaSim: Implementing different way of getting captured image height/width for correct closing on Mac OS X

Have to use org.eclipse.swt.graphics.Image instead of java.awt.image.BufferedImage because of the   SWT Bug 212617 -  Launching Swing/AWT based IApplications on Mac still results in deadlock 

Solution works with (jpeg, png, svg, gif, bmp)