Can a cur file have an alpha map (for high quality transparency)?
Posted
by
Codemonkey
on Super User
See other posts from Super User
or by Codemonkey
Published on 2011-11-29T09:11:39Z
Indexed on
2011/11/29
9:54 UTC
Read the original article
Hit count: 233
I want to convert this Heroes of Newerth cursor into a cur file so I can use it as a cursor on windows and on my website. The cursor is now in a PNG file with an alpha map, and I have so far been unsuccessful in converting it to a cur file.
The things I've tried is using the Photoshop cursor plugin to simply save the png as a cur. The result was a working cur file with a white background instead of a transparent one.
I've also tried painting the background pure green (0, 255, 0) and saving as a cur file, in which case the background was still green when I tried using it as a windows cursor.
I've also tried what's been mentioned in a few tutorials, which is selecting the area I want transparent and saving the selection in Photoshop (it then ends up as a new channel). So I selected the cursor and inverted the selection and saved it. The result was a bit odd. Instead of a transparent background, I now get a background that inverts the colours behind it, just like the "Windows inverted" mouse scheme.
So is there any way to accomplish what I'm trying to do?
© Super User or respective owner