Convert to Cursor

Converts image files to cursor CData.
3K download
Aggiornato 28 apr 2003

Nessuna licenza

Use a standard paint program like paint shop pro to edit your icons, save them in a MATLAB compatible format (bmp, png, jpeg, etc..)

Use White [RGB(255,255,255)] for areas you want white.

Use Black [RGB(0,0,0)] for areas you want black.

All other colors will be made transparent.

Example:

i = imread('mycursor.bmp');
CData = ConvertToCursor(i);
set(gcf,'Pointer','Custom','PointShapeCData',CData);

Cita come

Richard Medlock (2024). Convert to Cursor (https://www.mathworks.com/matlabcentral/fileexchange/3328-convert-to-cursor), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R13
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Convert Image Type in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0