Giter Site home page Giter Site logo

korayustundag / iconextractor Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 12 KB

Icon Extractor is a DLL that extracts icons from files using Shell32.dll, enabling developers to retrieve icons of different sizes for use in applications.

License: MIT License

C# 100.00%
csharp dotnet-framework file-handling image-processing mit-license winapi windows file-format-support icon-caching icon-extraction

iconextractor's Introduction

Icon Extractor

Icon Extractor is a dynamic-link library (DLL) for extracting icons from files using the Shell32.dll library. It provides developers with a convenient way to retrieve icons of various sizes from specified files, such as 16x16, 32x32, 64x64, and 128x128 pixels.

Features

  • Extract icons from files using Shell32.dll
  • Retrieve icons of different sizes (16x16, 32x32, 64x64, 128x128)
  • Simplify working with icons in applications
  • Easy integration into your C# projects

Usage

  1. Include the libIconExtractor.dll in your C# project.
  2. Use the provided ShellIconExtractor class to extract icons from files.
  3. Specify the file path and icon index to retrieve the desired icon.
  4. Call the GetIcon method with the desired size parameter to obtain the icon as an Icon object.
ShellIconExtractor iconExtractor = new ShellIconExtractor(filePath, iconIndex);
Icon icon = iconExtractor.GetIcon(32); // Retrieve a 32x32 icon

For more information, refer to the Wiki.

Dependencies

  • Shell32.dll

Build

To build the libIconExtractor.dll from source, follow these steps:

  1. Clone this repository.
  2. Open the solution file in your preferred C# development environment.
  3. Build the solution to generate the libIconExtractor.dll file.

Contribution Rules

Contributions to Icon Extractor are welcome! If you would like to contribute to the project, please adhere to the following guidelines:

  • Fork the repository and create a new branch for your contribution.
  • Make your changes and ensure they are well-tested.
  • Submit a pull request describing the changes you have made.
  • Ensure your code adheres to the project's coding standards and best practices.
  • Provide clear and concise commit messages and documentation for your changes.

License

This project is licensed under the MIT License.

Feel free to contribute, open issues, and submit pull requests to help improve the library.

iconextractor's People

Contributors

korayustundag avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.