* @deprecated {@linkplain ImageFactory ImageFactory} interface is deprecated,
* use {@linkplain ImageCapturer ImageCapturer} and
* {@linkplain ImageLoader} interfaces instead.
*/
public ImageFactory getImageFactory() {
ImageFactory res = (ImageFactory) getProperty(ImageFactory.class);
if (res == null) {
ImageCapturer imageCapturer = getImageCapturer();
ImageLoader imageLoader = getImageLoader();
if (imageCapturer != null && imageLoader != null) {
return new ImageFactoryImpl(imageCapturer, imageLoader);