This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<array> | |
<dict> | |
<key>phrase</key> | |
<string>★☆☆☆☆</string> | |
<key>shortcut</key> | |
<string>/1star</string> | |
</dict> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Generates an image in PNG format and returns it as a base64-encoded string. | |
* | |
* @param colors - An array of color values | |
* @param pixels - An array of pixel values | |
* @param width - The width of the image | |
* @param height - The height of the image | |
* @param scale - The scale factor to apply to the image (default: 1, uses nearest-neighbor interpolation) | |
* @returns The base64-encoded string representation of the generated image | |
*/ |