Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ImageToIconLite

ImageToIconLite Logo

A Simple and Fast Tool for Converting Images to Icons

.NET C# License Release


📋 Description

ImageToIconLite is a lightweight and simple console application that allows you to convert images in various formats to high-quality icon files (.ico). The software preserves the original aspect ratio and offers a user-friendly interface with clear colors and symbols.

✨ Key Features

  • 🎨 High-quality image to icon conversion
  • 📐 Preserves original aspect ratio
  • 🎯 6 common sizes to choose from (16x16 to 256x256)
  • 🌈 Colorful and clear console interface
  • ⚡ Fast and easy to use
  • 🔄 Supports common image formats (JPG, PNG, BMP, GIF, and more)

🚀 Installation

Option 1: Download Pre-built Release (Recommended)

The easiest way to use ImageToIconLite is to download the pre-compiled executable:

  1. Go to the Releases page
  2. Download the latest release (ImageToIconLite.exe file)
  3. Run ImageToIconLite.exe

✅ No installation or .NET SDK required! The release includes all necessary dependencies.

Option 2: Build from Source

If you want to build the project yourself or contribute to development:

System Requirements

  • .NET 6.0 SDK or newer
  • Windows (due to System.Drawing usage)

Steps

  1. Clone the repository:
git clone https://github.com/ori-halevi/ImageToIconLite.git
cd ImageToIconLite
  1. Build the project:
dotnet build
  1. Run the application:
dotnet run

Or build a release version:

dotnet publish -c Release -r win-x64 --self-contained

💻 Usage

Step 1: Launch the Application

Run the application and it will display a welcome header:

===================================
     Ori's Image to Icon Tool
===================================

Step 2: Enter Image Path

Enter the full path to the image file you want to convert:

Enter the full path to the image file:
> C:\Users\YourName\Pictures\logo.png

💡 Tip: You can drag and drop the file into the console window

Step 3: Choose Icon Size

Select the desired size from the list:

➤ Choose the icon size:
  [1] 16x16
  [2] 32x32
  [3] 48x48
  [4] 64x64
  [5] 128x128
  [6] 256x256
Your choice:
> 5

Step 4: Get the Result

The application will create the icon file in the same folder as the original image:

✔ Icon successfully saved to:
C:\Users\YourName\Pictures\logo.ico

🛠️ Technologies

  • C# - Programming language
  • System.Drawing - Graphics processing and saving
  • .NET Console - User interface
  • High-Quality Bicubic Interpolation - Maximum resizing quality

📝 Technical Details

Aspect Ratio Preservation

The software automatically calculates the correct scaling ratio to keep the image proportional. The image is centered on a transparent background at the chosen icon size.

ICO Format

Icons are saved in PNG format embedded within a standard ICO structure, ensuring full Windows compatibility and transparency support.


🤝 Contributing

Contributions to the project are welcome!

  1. Fork the project
  2. Create a new branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

This project is distributed under the MIT License. See the LICENSE file for more details.


👤 Author

Ori Halevi


🙏 Acknowledgments

  • Thanks to the .NET Community for the excellent tools and libraries
  • Inspired by similar tools in the open-source community

If this project helped you, don't forget to give it a ⭐

Made with ❤️ by Ori

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages