GH_MemoryBitmapShrinkBitmap Method |
Shrink an image by removing all outer columns and rows that contain only fully transparent pixels.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static Bitmap ShrinkBitmap(
Bitmap image
)
Public Shared Function ShrinkBitmap (
image As Bitmap
) As Bitmap
Parameters
- image
- Type: System.DrawingBitmap
Image to shrink.
Return Value
Type:
BitmapShrunk bitmap.
See Also