Page 1 of 1
Meta data: Scenic photos
Posted: 2015-05-26T06:33:44-07:00
by jarrarhussain
Hi All,
I am new here in this forum.
Currently I am using ImageMagick 6.6.5-8 version on Linux machine. With the help of this tool I am resizing the product images but I also wants to know some meta infos like:
1- Is a scenic photo
2- Images quality
Thanks in advance.
Jarrar
Re: Meta data: Scenic photos
Posted: 2015-05-26T09:57:52-07:00
by fmw42
try
that will give you quality and also EXIF data. But I do not know what you mean by "is a scene photo"?
Re: Meta data: Scenic photos
Posted: 2015-05-26T10:13:04-07:00
by Bonzo
But I do not know what you mean by "is a scene photo"?
Portrait or landscape orientation?
Re: Meta data: Scenic photos
Posted: 2015-05-27T03:37:41-07:00
by jarrarhussain
Here I am uploading a scenic and non-scenic photos.
Scenic
non-Scenic
Re: Meta data: Scenic photos
Posted: 2015-05-27T08:25:49-07:00
by fmw42
Image meta data does not contain that kind of information, unless someone has added a comment to identify it as scenic or non-scenic. I know of no commercial camera systems that will identify that as scenic or non-scenic automatically unless the photographer labels it manually as such.
You might determine it by assuming you have a constant background color and using -fuzz XX% -draw "matte 0,0 floodfill". where XX% is a just a few percent. Then look at the histogram to see how much of the new image is transparent. If a significant amount is transparent then it could be non-scenic.
If you have a reference non-scenic image or scenic image, you could mask out either the foreground or background, respectively, and see what is left or do an IM compare to see how close they match.