Get image height and width of image stored on Amazon S3

Rorkkkk picture Rorkkkk · May 27, 2012 · Viewed 15.9k times · Source

I plan to store images on Amazon S3 how to retrieve from Amazon S3 :

1)file size 2)image height 3)image width ?

Answer

Yan F. picture Yan F. · Nov 27, 2013

You can store image dimensions in user-defined metadata when uploading your images and later read this data using REST API.

Refer to this page for more information about user-defined metadata: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html