问题
How do you create a .cur (for a mouse cursor), from a GIF image file?
What tool or process can I use?
回答1:
You need to use a cursor creator, which is pretty much just a bitmap with some header data. I'd use Irfanview if you do not use Visual Studio or what not. If you use Visual Studio, just create a new cursor, and copy and paste the image data right into the editor... I'm sure I could whip up a tool that does this for you on a file basis, but I'm sure they are many tools out there already.
回答2:
IconStudio is able to aquire from other images.
回答3:
I just found a reference to a new tool called IconWorkshop lite which is a plugin for Visual Studio. I thought of this question and figured I'd leave the link here for posterity. I don't know for sure if it will do the job asked in the question...
http://sharptoolbox.com/tools/iconworkshop-lite
回答4:
You could also convert it into a .ico which is more common and rename it with the .cur extension.
回答5:
This discussion might be of help - it reference IrfanView as well as ICONStudio.
回答6:
This one works too: http://www.axialis.com/axcursors/
回答7:
this helped me - http://www.evotech.net/blog/2007/04/controlling-cursors-with-css-and-creating-cur-files/
来源:https://stackoverflow.com/questions/426372/convert-a-gif-into-a-cur-file