In PS 13.1 the functions has small and large icons.
How can I implement a large icon in user function?
You can implement a large icon similier to the way you implement the small one:
override the LargeBitmap method, so that it will return a string of the embded icon.
BTW, the embeded icon should be in png format, 32*32 pixels, 32bpp BGRA format.
I added a large icon in my userfunctions.
on my picture you can see the ribbon Custom or PSC.
Why PS blank function names?
What has more priority ? Small or Large Icon?
the only icon that works with me is a * .bmp without transparency.
I am desperately trying to use an icon with transparency. However, these are not recognized.
I tried without success with a * .png and * .ico.
With which program and in which file format do I have to provide the icon?
Can a possibly an example icon provide?
Thank you very much
If you want to use a small icon, then you have to add a bmp- image with 16x16px and it should have a background color of #c0c0c0 and no transparency. You can access this image with the Bitmap property in the command class
If you want to use a large image, then you can use a png or ico file with 32x32px and it can have a transparency. You can access this image with the LargeBitmap property in the command class.
VERY IMPORTANT: You always have to set the build action for the image to "Embedded resource"