Skip to main content

win2xcur is a tool to convert Windows .cur and .ani cursors to Xcursor format.

Project description

win2xcur Build Status PyPI PyPI - Format PyPI - Python Version

win2xcur is a tool that converts cursors from Windows format (*.cur, *.ani) to Xcursor format. This allows Windows cursor themes to be used on Linux, for example.

win2xcur is more than a simple image conversion tool. It preserves the cursor hotspot and animation delay, and has an optional mode to add shadows that replicates Windows's cursor shadow effect.

Installation

To install the latest stable version:

pip install win2xcur

To install from GitHub:

pip install -e git+https://github.com/quantum5/win2xcur.git

Usage

For example, if you want to convert the sample cursor:

mkdir output/
win2xcur sample/crosshair.cur -o output/

-s can be specified to enable shadows. Multiple cursors files can be specified on the command line. For example, to convert a directory of cursors with shadows enabled:

win2xcur input/*.{ani,cur} -o output/ 

For more information, run win2xcur --help.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

win2xcur-0.0.2.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

win2xcur-0.0.2-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file win2xcur-0.0.2.tar.gz.

File metadata

  • Download URL: win2xcur-0.0.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for win2xcur-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e48e010ffcfae0f7bf559803f3fb3d18a1112f34bd680a1bc8d69831aa5bf4c5
MD5 5028848b3a5f262e29329b45eb12c63d
BLAKE2b-256 b8688f2e06ec2556a8e80752db60fb85567076f37988d62bfd9d74932dae4358

See more details on using hashes here.

File details

Details for the file win2xcur-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: win2xcur-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for win2xcur-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2409d1f8c4de531954673cee10b0ee9b543454bbe5f5f497356a4f76366f6e77
MD5 7cf029f5d9cbb1f77833006d68137b97
BLAKE2b-256 28cd1abeec835b936b4708fc1c25a8702a5491f555830e4a6eda67d46d6c2869

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page