Skip to content

dekterov/Leacme.ImagineShrink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leacme.ImagineShrink

Leacme ImagineShrink is a cross-platform desktop application able to run on Windows, MacOS, and Linux. It is build using Microsoft .NET platform and Avalonia UI framework.

This application features the ability to bulk reduce the size of .PNG and .JPEG images through lossy compression algorithms.

index

Application Compiling

The desktop application can be compiled into an executable with .NET 3.1 by navigating to Leacme.App.ImagineShrink folder and running:

dotnet publish --configuration Release -p:CopyOutputSymbolsToPublishDirectory=false -p:PublishSingleFile=true -p:LeacmeOutputType=winexe --runtime win-x64

Note: win-x64 can be replaced with other runtimes such as linux-x64, or osx-x64, for more runtimes see RID Catalog

Application Usage

Add one or more images to the list with "Load Images...", select the Output Directory for the optimized images path and click Optimize Images.

Library Usage

The applicatin library can also be build and used separately by navigating to Leacme.Lib.ImagineShrink folder and running dotnet build. This will create a .dll library that can be copied into the directory where your .csproj is located. Be sure as well to add the following line to your .csproj file to point to the location of the library:

<ItemGroup><Reference Include="Leacme.Lib.ImagineShrink.dll"><HintPath>Leacme.Lib.ImagineShrink.dll</HintPath></Reference></ItemGroup>

It can then be added and used within your project with var library = new Leacme.Lib.ImagineShrink.Library();

Copyright

(c) 2017 Leacme

Contact

The author can be contacted via the contact form on their website http://leac.me

License

View LICENSE.md for more information

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages