{"action":"opened","issue":{"url":"https://api.github.com/repos/openimaj/openimaj/issues/91","labels_url":"https://api.github.com/repos/openimaj/openimaj/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/openimaj/openimaj/issues/91/comments","events_url":"https://api.github.com/repos/openimaj/openimaj/issues/91/events","html_url":"https://github.com/openimaj/openimaj/issues/91","id":102595928,"number":91,"title":"writing MBFImage to file","user":{"login":"ahsandar","id":2472371,"avatar_url":"https://avatars.githubusercontent.com/u/2472371?v=3","gravatar_id":"","url":"https://api.github.com/users/ahsandar","html_url":"https://github.com/ahsandar","followers_url":"https://api.github.com/users/ahsandar/followers","following_url":"https://api.github.com/users/ahsandar/following{/other_user}","gists_url":"https://api.github.com/users/ahsandar/gists{/gist_id}","starred_url":"https://api.github.com/users/ahsandar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahsandar/subscriptions","organizations_url":"https://api.github.com/users/ahsandar/orgs","repos_url":"https://api.github.com/users/ahsandar/repos","events_url":"https://api.github.com/users/ahsandar/events{/privacy}","received_events_url":"https://api.github.com/users/ahsandar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-23T07:27:54Z","updated_at":"2015-08-23T07:27:54Z","closed_at":null,"body":"trying to write MBFImage to file in scala, but getting exception , code and stacktrace below, \r\n\r\n```\r\nframe.drawShape(face.getBounds(), RGBColour.RED)\r\n       val outputFile: File = new File(f\"$opsDetectedPath/$frameName%s.jpg\")\r\n       ImageUtilities.write(frame, outputFile)\r\n```\r\n\r\n```\r\njava.util.ServiceConfigurationError: javax.imageio.spi.ImageWriterSpi: Provider com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageWriterSpi could not be instantiated\r\n        at java.util.ServiceLoader.fail(ServiceLoader.java:232) ~[na:1.8.0_45]\r\n        at java.util.ServiceLoader.access$100(ServiceLoader.java:185) ~[na:1.8.0_45]\r\n        at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) ~[na:1.8.0_45]\r\n        at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) ~[na:1.8.0_45]\r\n        at java.util.ServiceLoader$1.next(ServiceLoader.java:480) ~[na:1.8.0_45]\r\n        at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(IIORegistry.java:210) ~[na:1.8.0_45]\r\n        at javax.imageio.spi.IIORegistry.<init>(IIORegistry.java:138) ~[na:1.8.0_45]\r\n        at javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:159) ~[na:1.8.0_45]\r\n        at javax.imageio.ImageIO.<clinit>(ImageIO.java:66) ~[na:1.8.0_45]\r\n        at org.openimaj.image.ImageUtilities.write(ImageUtilities.java:273) ~[core-image-1.3.1.jar:na]\r\n```"}}