Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
/ Picture-Toolbox Public archive

Simple .Net app for compressing and resizing PNG and JPG images using the Tinify API on directory level

Notifications You must be signed in to change notification settings

UrekD/Picture-Toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Urek's Picture-Toolbox GitHub all releases GitHub repo size GitHub last commit

Simple .Net app for compressing and resizing PNG and JPG images using the Tinify API on directory level

This was made mainly for my personal usage and for now it fulfills all the demands so more development is not expected, the app is fairly simple and can be modified and build easily with using MS Visual Studio. Unlike the others this will overwrite the originals by default for free and uses FileDialog method a like to browse directories, which is much better than DirectoryDialog.

Possible future updates:

  • Save and load prev selected settings and API key
  • Easy way to change the API key
  • Option for local resize without API
  • Scale resize type
  • Option to include subdirectories
  • Option to not overwritte original photos
  • App logs
  • Code Refactor

Usage

  1. Get API key from https://tinify.com/dashboard/api, insert and validate it in the app.
  2. Select the directory you wish to compress, does not effect subdirectories at the moment.
  3. Tick if you wish to resize, and chose the type and size
  4. Click Start
  5. Wait...
  6. Profit

Original images will get overwritten!!

Changing API

Free tier limits to 500 API calls, resize and compress are each 1 call, so if you compress and resize you used 2 operations. Ways to change API key atm...:

  1. Deactivate the one currectly saved
  2. Delete C:\Users(Your Username)\AppData\Local\UrekD_@GitHub
  3. Manually edit the config found in the directory written above.

If this helps consider starring the repo

Feel free to use this in your own project or contribute to advance this repo. If you have any concers or wish to contact me you can do this on Discord Urek#2576, via email listed on my profile or using repo tools such as issues etc.

About

Simple .Net app for compressing and resizing PNG and JPG images using the Tinify API on directory level

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages