You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to resize/compress a .jpg file from an android device, I keep getting "INVALID_EXTENSION" error. But for .png, or .jpeg files works fine.
Output:
Input image Blob(225073) {size: 225073, type: "image/jpg"} size: 225073 type: "image/jpg" __proto__: Blob Output error {compressedFile: Blob(225073), reason: "File provided is neither of type jpg nor of type png.", error: "INVALID_EXTENSION"} {resizedFile: Blob(225073), reason: "The provided File is neither of type jpg nor of type png.", error: "INVALID_EXTENSION"}
The text was updated successfully, but these errors were encountered:
When I try to resize/compress a .jpg file from an android device, I keep getting "INVALID_EXTENSION" error. But for .png, or .jpeg files works fine.
Output:
Input image
Blob(225073) {size: 225073, type: "image/jpg"} size: 225073 type: "image/jpg" __proto__: Blob
Output error
{compressedFile: Blob(225073), reason: "File provided is neither of type jpg nor of type png.", error: "INVALID_EXTENSION"} {resizedFile: Blob(225073), reason: "The provided File is neither of type jpg nor of type png.", error: "INVALID_EXTENSION"}
The text was updated successfully, but these errors were encountered: