Inches vs. Pixels

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
DixieCup48
Posts: 111
Joined: 30 Jan 2018 14:58

Inches vs. Pixels

Post by DixieCup48 »

Is there a setting somewhere that would allow the Preview Tab of the Info Panel to display in inches instead of pixels?

Or even more broadly can the software be changed to show English measure everywhere?

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Inches vs. Pixels

Post by highend »

No, but what you could do is: display a custom column that shows that information

E.g. with the following definition:

Code: Select all

Snip: CustomColumn 1
  XYplorer 18.70.0100, 13.02.2018 14:36:31
Action
  ConfigureColumn
Caption
  Size (inches)
Type
  3
Definition
      $dpi = get("Screen", "dpi");
      return round((property('System.Image.HorizontalSize', <cc_item>) / $dpi), 2) . " x " . round((property('System.Image.VerticalSize', <cc_item>) / $dpi), 2);
Format
  1
Trigger
  1
Item Type
  0
Item Filter
  {:Image}
One of my scripts helped you out? Please donate via Paypal

DixieCup48
Posts: 111
Joined: 30 Jan 2018 14:58

Re: Inches vs. Pixels

Post by DixieCup48 »

Had hoped this would be a simple "check mark" somewhere. You have addressed the problem with the elegance only an expert could summon up.

Thank you for your time and talent!

Post Reply