document.getElementById(‘processBtn’).addEventListener(‘click’, function() {
const fileInput = document.getElementById(‘svgFile’);
const file = fileInput.files[0];
if (file) {
const reader = new FileReader();
reader.onload = function(e) {
const svgContent = e.target.result;
// Remove width and height attributes and fill colors
let processedSvg = svgContent
.replace(/