Closed sajadshouli closed 6 months ago
I would not use the save()
method here to transfer files to remote data storage, as it is primarily designed for the local file system.
I would use one of the encoder methods to get the raw image data. Then you can do what you want with it: See https://github.com/Intervention/image/issues/431#issuecomment-144108588. Data compression and transfer to S3 is not part of this library.
before I change my filesystem from local to s3 I have a command which compresses the image size like this
in local or public filesystems the code works fine but when I changed the filesystem to s3, It could not compress the file since the file path will be something like this
and the error is like this
in this situation does the package can compress the file with other method or something else