Extracting image Copyright and Author
I get the image_metadata
Map<String, Object> opts = new HashMap<>();
opts.put("image_metadata", Boolean.TRUE);
ApiResponse resp = cloudinary.api().resource(ref, opts);
I know how to extract that data from a file or an InputStream however the value returned here is JSONObject and not can't be turned into a Stream.
I used the package com.drew.metadata.Metadata until now to extract that either from FILE or from an S3 Stream.
-
Hi,
I'm sorry for the very late reply, we have noticed that this request was left unattended. I guess this is not relevant anymore but for future reference -The API response is indeed a JSON object, which includes the actual data as was extracted by us from the file. If you'd like to extract the metadata information from the file itself, you can simply "GET" the file and extract that data by yourself.
Thanks,
Itay0
Post is closed for comments.
Comments
1 comment