--- title: "system.print.createImage" description: "Takes a snapshot of a component and creates a Java BufferedImage out of it." --- # system.print.createImage > Takes a snapshot of a component and creates a Java BufferedImage out of it. This function is used in **Python Scripting**. ## Description Advanced Function. Takes a snapshot of a component and creates a Java BufferedImage out of it. You can use `javax.imageio.ImageIO` to turn this into bytes that can be saved to a file or a BLOB field in a database. ## Client Permission Restrictions This scripting function has no [Client Permission](projects\project-properties\project-properties.md#client---permissions) restrictions. ## Syntax `system.print.createImage(component)` ### Parameters |Type|Parameter|Description| |--|--|--| |Component| `component`| The component to render.| ### Returns **BufferedImage** - A java.awt.image.BufferedImage representing the component. ### Scope Client ## Code Examples There are no examples associated with this scripting function.