Skip to content

Windows console app tied to a context menu item to tinify images from within Windows Explorer

Notifications You must be signed in to change notification settings

J4C0814N/TinyfyConsoleContext

Repository files navigation

TinyfyConsoleContext

Windows console app tied to a context menu item to tinify images from within Windows Explorer

Simple Windows Console app that uses the TinyPNG API to compress images from a Windows Explorer context menu item. Install:

  1. Add your API Key to the App.config
  2. Build/deploy the .exe to the directory you would like application installed to. e.g. C:\Program Files\TinyfyConsoleContext\TinyfyConsoleContext.exe
  3. Run the .exe with the install argument as an Administrator. e.g. C:\Program Files\TinyfyConsoleContext\TinyfyConsoleContext.exe install
  4. Ensure you get an install success message, otherwise debug any errors and install again.

Once installed Simply:

  1. Right-click an image or image selection
  2. Select the Tinify context menu item
  3. An [ImageName]-Tinified.[ext] image will be created in the same directory

An Application.log file should be automatically created in the .exe directory with hopefully useful information incase soemthing goes wrong. log will automatically be wiped if it is more than a week old.

DUTYTODOS:

  1. Verify input is an image
  2. Allow multiple images at once (Probably thread / async)
  3. Set up for DI, pull code out into libraries
  4. Application Logging
  5. Add context menu to image file types only .jpg .png added
  6. Optimise code
  7. Show remaining API Calls count
  8. Check for existing install (Do not duplicate Registry key)

About

Windows console app tied to a context menu item to tinify images from within Windows Explorer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages