ImageGetBufferedImage
Was this helpful?
Returns the underlying Java BufferedImage object for an image. This BIF allows advanced users to access the raw Java image object in BoxLang for direct manipulation or integration with Java APIs.
ImageGetBufferedImage(name)name
any
Yes
The image or the name of a variable referencing an image to operate on.
BufferedImage: The underlying Java BufferedImage object for the image.
ImageGetBufferedImage returns the Java BufferedImage object associated with the specified image. This is useful for advanced operations, interoperability with Java libraries, or custom image processing. The image can be passed directly or referenced by variable name.
// Get the BufferedImage object from a BoxImage
buffered = ImageGetBufferedImage(myImage);ImageGetBlob
ImageRead
The image can be passed as a BoxImage object or as a variable name referencing an image.
The returned value is a Java BufferedImage object, which may require Java interop for further use.
Was this helpful?
Was this helpful?
