How to extract metadata like width and height from pictures?

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
bonkabonk
Posts: 1
Joined: Wed Aug 21, 2019 1:16 pm

How to extract metadata like width and height from pictures?

Post by bonkabonk »

How do I extract metadata like width and height from pictures and put them into a -CSV file, or even a text file?

I see XnView uses Exiftool or something like that, which makes me believe it is possible
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to extract metadata like width and height from pictures?

Post by xnview »

you have 'Create>File listing'
Pierre.
cday
XnThusiast
Posts: 4397
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: How to extract metadata like width and height from pictures?

Post by cday »

xnview wrote: Tue Aug 27, 2019 12:45 pm you have 'Create>File listing'

Code: Select all

DirectoryFilename With Ext	Size	Format	Comment	
/home/chris/Test_images/Desert.jpg	578.44 KiB	JPEG TrueColor (v1.1)	
/home/chris/Test_images/Tulips.jpg	106.22 KiB	JPEG TrueColor (v1.1)	
Create>File listing shows file size in KiB, but not image width and height in pixels? :(
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to extract metadata like width and height from pictures?

Post by xnview »

you can add fields {Width} or {Height}
Pierre.
cday
XnThusiast
Posts: 4397
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: How to extract metadata like width and height from pictures?

Post by cday »

xnview wrote: Tue Aug 27, 2019 4:05 pm you can add fields {Width} or {Height}

Thanks, but not so obvious to just type those headings into the rows...

Code: Select all

Directory Filename With Ext	 Size height width	Format	
/home/chris/Test_images/ Desert.jpg	 578.44 KiB 768 1024	JPEG TrueColor (v1.1)
/home/chris/Test_images/ Tulips.jpg	 106.22 KiB 768 1024	JPEG TrueColor (v1.1)
Are there other unlisted parameters that can be displayed?
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to extract metadata like width and height from pictures?

Post by xnview »

you can choose fields with menu
Pierre.
cday
XnThusiast
Posts: 4397
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: How to extract metadata like width and height from pictures?

Post by cday »

xnview wrote: Wed Aug 28, 2019 7:51 am you can choose fields with menu
Right, the small arrows to the right of the boxes open a drop-down list! :D
Post Reply