Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generate .ani and .cur
#7
I have a python script ( not a Gimp plugin ) that creates a .cur from a .ico file. Apparently they are almost identical except you can set a 'hot spot' (whatever that is) in a .cur

Using your 128x128 png from bug report. Top is a straight conversion png -> ico in Gimp ico -> cursor using script. Remember this is using Linux. 
Into Win 10 Top is very pixelated so I gave the original png a small gaussian blur, that's the bottom cursor.

   

Attached the cursor file and the python script. usage is (x,y is the hotspot)
Code:
python ico2cur.py filename.ico -x 25 -y 30

I do not know how you would create a multi-layer .cur file.
Please do not ask any difficult questions when it comes to M$ I am well behind usage these days Wink


Attached Files
.zip   cursors_convert.zip (Size: 6.04 KB / Downloads: 192)
Reply


Messages In This Thread
Generate .ani and .cur - by meetdilip - 08-08-2022, 06:55 PM
RE: Generate .ani and .cur - by rich2005 - 08-08-2022, 07:51 PM
RE: Generate .ani and .cur - by meetdilip - 08-08-2022, 08:21 PM
RE: Generate .ani and .cur - by programmer_ceds - 08-09-2022, 12:21 PM
RE: Generate .ani and .cur - by meetdilip - 08-09-2022, 03:39 PM
RE: Generate .ani and .cur - by meetdilip - 08-09-2022, 04:42 PM
RE: Generate .ani and .cur - by rich2005 - 08-09-2022, 07:23 PM
RE: Generate .ani and .cur - by meetdilip - 08-09-2022, 09:44 PM

Forum Jump: