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 backing up and restoring .webp files (both locally and via Google Drive), the images become corrupted. It seems the backup code is treating binary image data as text (using UTF-8 by default) instead of using binary mode, and the Google Drive upload doesn't explicitly set the MIME type to "image/webp". This results in the file bytes being altered and the images getting corrupted.
Could we please update the backup/restore routines to handle .webp files in proper binary mode (using Buffers or similar) and ensure the correct MIME type is used during uploads? Thank you for looking into this.
The text was updated successfully, but these errors were encountered:
When backing up and restoring .webp files (both locally and via Google Drive), the images become corrupted. It seems the backup code is treating binary image data as text (using UTF-8 by default) instead of using binary mode, and the Google Drive upload doesn't explicitly set the MIME type to "image/webp". This results in the file bytes being altered and the images getting corrupted.
Could we please update the backup/restore routines to handle .webp files in proper binary mode (using Buffers or similar) and ensure the correct MIME type is used during uploads? Thank you for looking into this.
The text was updated successfully, but these errors were encountered: