public static File convertTexture2D(File source, File target) {
		try {
			if (target == null) target = File.createTempFile(source.getName(),".png");
			
			XNBReader xnbReader = new XNBReader(source);
			XNBData read = xnbReader.read(true);
			
			Image image = (Image)read.assetData;
			BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(target));
			ImageOut.write(image,ImageOut.PNG,bos);
			bos.close();
			
			return target;
		} catch (Exception e) {App.getApp().handle(e);}
		return null;
	}