resolves https://github.com/Shared-Reality-Lab/IMAGE-server/issues/588.
The image compression library was giving error for large images since service-workers used in manifest v3 do not support window object. To fix this, image compression logic has been moved to content.ts from background.ts(service-worker).
resolves https://github.com/Shared-Reality-Lab/IMAGE-server/issues/588. The image compression library was giving error for large images since service-workers used in manifest v3 do not support window object. To fix this, image compression logic has been moved to content.ts from background.ts(service-worker).