HOME | Blog | Software | Reviews and Features | Forum | Help | Donate
Click here to
donate and join now!
Welcome Guest.   Make a donation to an author on the site March 26, 2015, 02:15:58 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Your Support Funds this Site: View the Supporter Yearbook.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Release: Arti (Aspect Ratio Tool for Images)  (Read 1684 times)
skwire
Global Moderator
*****
Posts: 4,314



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« on: February 09, 2015, 11:56:40 PM »

TitleArti (Aspect Ratio Tool for Images)
Description Small application that lists aspect ratios for images. Exact ratios are listed in addition to a nearest match ratio based on a configurable preset list.
Supported OSWindows 7.  Probably works, but not tested, on Windows XP/Vista/8/10
Website:http://skwire.dcmembers.com/fp/?page=arti
HistoryChangelog
DownloadArti.zip
Screenshot

Introduction
There really isn't much more to be said than the description above.  This app was written on request from a photographer and its main focus is to quickly view the aspect ratio of images loaded into its interface.  There are columns for exact ratio (determined by straight math) and nearest preset match which can help to see the nearest aspect ratio for files that aren't pixel perfect.  The software comes preloaded with a large list of aspect ratios but this is entirely configurable.  Of course, the more aspect ratios, the more accurate the nearest preset match is going to be.

Features
  • Load images via the menu, toolbar, or simply by dragging and dropping files or folders.
  • Standard listview interface (column widths and order are saved)
  • Export to CSV function
  • Always on top button

Installation
Download the zip file and extract its contents into a new folder.  Run Arti.exe to start the application.  Add some images and behold.   tongue
Logged

tomos
Charter Member
***
Posts: 8,971



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #1 on: February 10, 2015, 03:42:17 AM »

Interesting thumbs up

and on the off-chance that you're not sure of your monitor's ratio,
you can use brahman's Screen Calculator: Monitor, Mobile & Notebook PPI and Screen Size Spreadsheet.
Logged

Tom
mouser
First Author
Administrator
*****
Posts: 34,288



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: February 10, 2015, 04:22:40 AM »

Very nice  thumbs up
Logged
mouser
First Author
Administrator
*****
Posts: 34,288



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: February 10, 2015, 08:40:04 AM »

Written up on ghacks today: http://www.ghacks.net/201...io-information-with-arti/
Logged
tomos
Charter Member
***
Posts: 8,971



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #4 on: February 10, 2015, 09:39:23 AM »

Quote
In case you are wondering, the formula to calculate the new height of an image based on the existing aspect ratio is height / width * new width.
hmm, I dont understand what they say at the end of the ghacks article ^


I think this below is fairly obvious - and doing something different to the above (?).
If I want to, say, crop one side of the image to make it fit the nearest ratio, using one of the examples from the OP:
-
Width: 3,000 [A]    Height: 1993
-
to crop the height (to get 3:2 ratio), I'd divide B by 2; then multiply by 3 to get the correct pixel height (new value for A).
1993/2 = 996.5
996.5*3 = 2989.5 (new height/new value for A)
Logged

Tom
mouser
First Author
Administrator
*****
Posts: 34,288



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: February 10, 2015, 10:19:01 AM »

The instruction:
Quote
In case you are wondering, the formula to calculate the new height of an image based on the existing aspect ratio is height / width * new width.

Is valid.

We can see this (and other related formulas) with some algebra:

For a given height (h) and width (w), we might express the aspect ratio as h/w.

Now imagine we want to construct a new image of height (h2) and width (w2).

If we want these two images to have the same aspect ratio, we can express this by saying that:
h2/w2 = h/w

we can do some simple algebra of multiplying both sides by same values to yield new expressions:
h2 = (h/w)*w2
or
w2 = (w/h)*h2

Logged
tomos
Charter Member
***
Posts: 8,971



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #6 on: February 10, 2015, 11:50:02 AM »

thanks mouser -
wasn't sure what it was for, understand now thumbs up
Logged

Tom
ScreenManiac
Supporting Member
**
Posts: 58

View Profile Give some DonationCredits to this forum member
« Reply #7 on: February 18, 2015, 05:22:18 AM »

Nice tool.  thumbs up
It were nice to have thumbnails, but that's probably not easy to implement.
What would help also, however, were a bigger font size (optional).

Any way to pass a directory to it via command line? Maybe even with a filter-parameter to show image files only?
Logged
skwire
Global Moderator
*****
Posts: 4,314



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #8 on: February 18, 2015, 12:39:08 PM »

Nice tool.  thumbs up

Thank you.

It were nice to have thumbnails, but that's probably not easy to implement.

I thought about this when I was writing it and maybe a second window that would display the image would work.

What would help also, however, were a bigger font size (optional).

Added in the latest version.

Any way to pass a directory to it via command line? Maybe even with a filter-parameter to show image files only?

Basic commandline handling has been added as well.  The app should already restrict files to only the following extensions: jpg, jpeg, bmp, gif, png, tiff, & ico


Website | Download
v1.0.2 - 2015-02-18
    + Added customisable list font.  (Thanks, ScreenManiac)
    + Added basic commandline handling for file and folders.  (Thanks, ScreenManiac)
    + Added "Create SendTo menu shortcut" option in the Options tab.



Logged

ScreenManiac
Supporting Member
**
Posts: 58

View Profile Give some DonationCredits to this forum member
« Reply #9 on: February 19, 2015, 02:42:59 AM »

Thank you. Now it works like a charm, custom font, passing files or folders, auto-filtered  Thmbsup   smiley
I really appreciate it. Not to mention your quick response and speedy implementation.  Cool

One more nice-to-have were a STOP button to stop the scanning of large subfolders. Or even better, an option to not scan subfolders at all. Passing a folder with many subs slows down Arti considerably ATM.
« Last Edit: February 19, 2015, 02:52:00 AM by ScreenManiac » Logged
skwire
Global Moderator
*****
Posts: 4,314



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #10 on: February 20, 2015, 06:59:56 PM »

Website | Download
v1.0.3 - 2015-02-20
    + While a scan is in progress, the menu bar will reduce to a single Cancel
      menu with a Cancel option.  You can also cancel by pressing the Escape key
      while a scan is in progress.  (Thanks, ScreenManiac)
    + Added an option to enable/disable recursive scanning.  (Thanks, ScreenManiac)
Logged

ScreenManiac
Supporting Member
**
Posts: 58

View Profile Give some DonationCredits to this forum member
« Reply #11 on: February 21, 2015, 02:14:56 AM »

GREAT.  smiley  and thank you very much.
Works flawless. It keeps the already scanned entries upon Cancel, it remembers the recursive option -  Thmbsup
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.037s | Server load: 0.12 ]