I tried ImageMagick in normal php it shows an error - Fatal error: Uncaught ImagickException: UnableToOpenBlob `test.jpg': No such file or directory @ error/blob.c/OpenBlob/2702 in
@revathi are you storing those details into database then you can get details base on id or base on image name also. IF you need anythink else then give more details.
No, I didn't store database. First Image files directly moved to our folder through FTP. After that we need to run cron or some url to fetch the particular folder images and these properties should be store in the database. It is a difficult one.
Unless you've used something like __DIR__ to prefix ImageMagick does not know your current working dir. And if it knew then it would throw something like:
Fatal error: Uncaught ImagickException: UnableToOpenBlob `some/path/to/file/test.jpg': No such file or directory