Extracting Icons from Files(amrelsehemy.net)

submitted by AmrElsehemyAmrElsehemy(2585) 3 years, 11 months ago

Extracting the icon of any file including executable ones.

1 comment |category: |Views: 4

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by JudahGabrielJudahGabriel(783) 3 years, 11 months ago 0

This isn't extracting icons from files. This is getting the icon of the program associated with a file's extension. E.g. foo.pdf will return the Adobe icon.

The technique is nothing special, just the Icon.ExtractAssociatedIcon method of the framework.

I've tagged this article appropriately.

Reply

information Login or create an account to comment on this story