Convert to Cursor

版本 1.0.0.0 (445 字节) 作者: Richard Medlock
Converts image files to cursor CData.
3.0K 次下载
更新时间 2003/4/28

无许可证

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);

引用格式

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

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0