Page 1 of 1

Using -info to return width (only)

Posted: Thu Aug 25, 2011 6:09 am
by michelle
Hello

I need only to get the width of an image returned when calling -info. The reason for this is that in my ruby script I'm setting a variable called 'pic_width':

pic_width = system("nconvert.exe -info C:\mine.tif")

Is there a way I can specify "only give me the width back please" ? I want to avoid having to run a regular expression in my ruby code order to find the value for width.

Thanks very much, Michelle

Re: Using -info to return width (only)

Posted: Fri Aug 26, 2011 12:47 pm
by xnview
no sorry but -info return all information