+) {
			for (let x = 0; x < 224 * 224; x++) {
				out[i] = data[x * 4 + c];
				i++;
			}
		}
		return out;
	};

	const runNetWResource = async (resource) => {
		resultText.innerHTML = "pending..."
		if (resource == "") error("sir. please type in a URL");
		const response = await fetch(resource)
		if (!response.ok) error("sir. that is not a good URL. try a new one");
		document.getElementById("imagebox").src = resource
		
		const img = new Image();
		img.crossOrigin = "Anonymous";
		img.onload = () => {
			