Skip to content
This repository has been archived by the owner on Mar 14, 2019. It is now read-only.

File Manipulation

Brylie Christopher Oxley edited this page Mar 3, 2015 · 2 revisions

You may want to manipulate files before saving them. For example, if a user uploads a large image, you may want to reduce its resolution, crop it, compress it, etc. before allowing the storage adapter to save it. You may also want to convert to another content type or change the filename or encrypt the file. You can do all of this by defining stream transformations on a store.

Note: At the moment transform only work on the server-side code.