Skip to content

A portable app to calculate the correct width or height based on aspect ratio

License

Notifications You must be signed in to change notification settings

amymor/DiCalc-Dimension-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

logo DiCalc (Dimension Calculator)

A portable app (size=~50KB) to calculate the correct width or height based on aspect ratio.

Screenshots

screen1 5

Old versions

v1.2-v1.4

screen1 4

v1.1

screenv1 1

v1.0

screenv1 0

How to use

DiCalc (UI)

Metdod A:

  1. Open the app.
  2. Enter your desired aspect ratio (default is 16:9).
  3. Enter "Pixel width" or "Pixel height".
  4. Done! The app will show you the correct width or height and also auto-copy it to the clipboard.

Metdod B:

  1. Open the app.
  2. Enter your desired aspect ratio (default is 16:9).
  3. Drag and drop an image file to the window.
  4. Done! The app will show you the correct width and height and also auto-copy it to the clipboard.

DiCalc-CL (Command line)

Just pass the image file as parameter, it will calculate the correct dimension and auto-copy it to the clipboard.

e.g:

DiCalc-CL.exe "test-1920-1440.jpg"

the blow result will be copied to the clipboard:

1920 1080

Note The default aspect ratio for DiCalc-CL is 16:9, but if the DiCalc-Cl.ini exist in same folder you can change the default aspect ratio, e.g:

AspectRatio=4:3

Downlaod

Downlaod latest version here

To-Do List

  • Auto select the "Pixel width" box on startup.
  • Add a button to open GitHub app web page to check for updates.
  • A bit better UI and colors.
  • Auto round the result instead of showing decimals.
  • Add an option to make the window topmost.
  • Add command-line parameters.
  • Add an option to auto calculate.
  • Add up and down buttons to TextBox (change TextBox to NumericUpDown).
  • Store some settings like default aspect ratio in an ini file.
  • An option to auto-copy the result to clipboard.
  • A button before each numberic field to copy the value.

About

A portable app to calculate the correct width or height based on aspect ratio

Resources

License

Stars

Watchers

Forks

Packages

No packages published