Layer.saveLayerImage

機能/意味
Saving images
タイプ
Layerクラスのメソッド
構文
saveLayerImage(name, type="bmp")
引数
name  Specify the storage name to save.
type  Specify the image format to save as a character string. In the current version, the following formats can be specified.

"bmp" or "bmp32"
 32bpp BMP. Also save the alpha channel (mask).

"bmp24"
 24bpp BMP. Alpha channels (masks) are not saved.

"bmp8"
 8bpp BMP. Alpha channels (masks) are not saved. Images are color-reduced using 4x4 organized dithering with a fixed palette of 252 colors.

"jpg"
 JPEG. Alpha channels (masks) are not saved. Images are stored at 90% quality.

"jpg###"
 JPEG. Alpha channels (masks) are not saved. The image will be saved with the quality specified by ###. "jpg010" is 10%, "jpg100" is 100%, and "jpg080" is 80%.

"png"
 32bpp PNG. Also save the alpha channel (mask).

"png24"
 24bpp PNG. Alpha channels (masks) are not saved.

"tlg5"
 It is TLG5 of 32bpp. Also save the alpha channel (mask).

"tlg524"
 It is TLG5 of 24bpp. Alpha channels (masks) are not saved.

"tlg6"
 It is TLG6 of 32bpp. Also save the alpha channel (mask).

"tlg624"
 24bpp TLG6. Alpha channels (masks) are not saved.
戻り値
なし (void)
説明
 Saves a file in the image format specified by type to the storage (file) specified by name.
 The image of the layer is saved, and the area image cannot be saved.