Documentation ¶
Overview ¶
实现一些Go的Image转vcl/lcl的
Index ¶
- Variables
- func ToBitmap(img image.Image) (*vcl.TBitmap, error)
- func ToBitmap2(img image.Image, bmp *vcl.TBitmap) error
- func ToGIFImage(img image.Image) (*vcl.TGIFImage, error)
- func ToGoImage(obj *vcl.TGraphic) (image.Image, error)
- func ToJPEGImage(img image.Image, quality int) (*vcl.TJPEGImage, error)
- func ToPngImage(img image.Image) (*vcl.TPngImage, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ToGIFImage ¶
将Go的Image转为VCL/LCL的 TGIFImage 返回的gif对象用完记得Free掉
func ToJPEGImage ¶
将Go的Image转为VCL/LCL的 TJPEGImage 返回的jpg对象用完记得Free掉
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.