private byte[] loadBytesFromURL(URL url) {
		try (InputStream is = url.openStream()) {
			ByteArrayOutputStream os = new ByteArrayOutputStream();
			int length = 0;
			byte[] buf = new byte[1024];
			while ((length = is.read(buf)) > 0) {
				os.write(buf, 0, length);
			}
			return os.toByteArray();
		}
		catch (IOException e) {
			Msg.error(this, "Exception loading image bytes: " + url.toExternalForm(), e);
		}
		return null;
	}
Returns the original path that was used to generate the URL (e.g. images/foo.png)
@return  the original path that was used to generate the URL (e.g. images/foo.png)
Ghidra/Framework/Gui/src/main/java/resources/icons/UrlImageIcon.java