#1 11 Jan 2018 17:41

Dheath
Member
Registered: 06 Jan 2018
Posts: 6

Query Image Properties.

Hello again, does anyone know if there is a way to query the image "details" displayed in the image's "properties" GUI? I am specifically interested in the "Dimension" value of .jpg files.

"Wmic datafile get" only seems to provide the generic file details, not those specific to the file type, but that's all I've been able to find without using Powershell or 3rd party tools is to query. I don't mind using Powershell if necessary, it just seems like there should be a way to do this in CMD.

Offline

#2 11 Jan 2018 23:53

Simon Sheppard
Super Administrator
Registered: 27 Aug 2005
Posts: 903
Website

Re: Query Image Properties.

I think you have to use a 3rd party tool.

ImageMagick is small and free and can do this:

magick identify rose.jpg
rose.jpg JPEG 70x46 70x46+0+0 8-bit sRGB 2.36KB 0.000u 0:00.000

https://www.imagemagick.org/script/comm … -tools.php

Offline

#3 12 Jan 2018 18:32

Dheath
Member
Registered: 06 Jan 2018
Posts: 6

Re: Query Image Properties.

Ok, thanks a lot!

I guess Explorer must use Powershell to access those details, but ImageMagick should work fine for me. smile

Offline

Board footer

Powered by FluxBB