When processing large images (>1024px or >4MP), the browser may crash or become unresponsive due to memory overflow