[C #] Open-Source Tool, icon batch Generator

Source: Internet
Author: User
Origin

Since I have been operating on multiple platforms and applying them to multiple markets
Every time I sort out the icons required by various platforms, I feel dizzy.
Although the icon can be obtained only after a batch processing of Photoshop, it is really slow to start Photoshop every time.
In addition, its batch processing is not very easy to use, because it is too powerful, which means it is cumbersome to use.
So today, I spent half a day using a small tool.

Ideas

The idea is actually very simple. I just hope that I can select an already designed icon, and then automatically generate the icon required by each platform and help me to better understand it.
That's just a simple requirement. Currently, I may have three app platforms, IOS, Android, and WP7. It is a waste of time to get them one by one.
Using Photoshop is not very convenient for storing batches in different folders. (In fact, it is also related to not familiar with me)
In short, you can use it!

Download

Http://download.csdn.net/detail/cloudhsu/4339975

Correction

Thank you very much for your response.Only when I found that the original openfiledialog. safefilename attribute is. NET Framework must be installed with SP1.

RepairedCodeBut I don't know how to re-upload the csdn resources, so I have to put the corrected code in the text

Private void btnselecticon_click (Object sender, eventargs e) {btngenerateicon. enabled = false; txticon. TEXT = ""; openfiledialog opendialog = new openfiledialog (); opendialog. title = "select a icon file"; opendialog. filter = "image files (*. PNG ,*. BMP ,*. JPG) | *. PNG ;*. BMP ;*. jpg "; opendialog. initialdirectory = directory. getcurrentdirectory (); If (opendialog. showdialog (this) = dialogresult. OK) {txticon. TEXT = opendialog. filename; fileinfo file = new fileinfo (opendialog. filename); m_iconname = file. name; m_rooticondirectory = file. directoryname + "\"; btngenerateicon. enabled = true; debug. writeline (m_rooticondirectory); debug. writeline (m_iconname );}}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.