Reputation:
Looking for help to achieve the following points in GCS.
Upvotes: 0
Views: 622
Reputation: 1675
You can create a composite object in order to merge multiple images together in a single object - here is the documentation for this in Node.js
Nonetheless, composing objects requires that the source files are already stored in the same storage bucket and must have the same storage class;see document for More details.
Because of this, the composite object can only be created once all the files that you are willing for it to be composed of are stored in the same bucket.
For this reason, in case you would like to have this done prior to uploading to GCS, you should implement logic on node.js side like merging objects before uploading to gcs.
You can have a look at this document Node.js — How to Merge Objects.
Upvotes: 0