-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Koray Üstündağ edited this page May 16, 2023
·
3 revisions
Icon Extractor is a library that allows you to extract icons from various file types using Shell32.dll. It provides a simple and convenient way to retrieve icons and resize them to different dimensions.
- Extract icons from files using Shell32.dll
- Resize icons to different dimensions
- Support for various file formats
- Easy-to-use API
To use Icon Extractor in your project, you can follow these steps:
- Clone the repository:
git clone https://github.com/username/repo.git - Build the solution in Visual Studio
- Reference the
IconExtractor.dllin your project - Start using the library in your code
Here's an example of how to use Icon Extractor to extract and resize icons:
using IconExtractor;
// Create an instance of ShellIconExtractor
using (ShellIconExtractor iconExtractor = new ShellIconExtractor("file.ico", 0))
{
// Get the icon in different sizes
Icon icon16x16 = iconExtractor.GetIcon(16);
Icon icon32x32 = iconExtractor.GetIcon(32);
Icon icon64x64 = iconExtractor.GetIcon(64);
Icon icon128x128 = iconExtractor.GetIcon(128);
// Use the icons in your application
// ...
}This project is maintained by Koray Üstündağ.
If you have any questions or need support, feel free to reach out to us at mskorayustundag@gmail.com.
This project is licensed under the MIT License. See the LICENSE file for details.