LocalImageProcessor
Local image processor that uses Java's built-in image processing capabilities. This implementation doesn't require external API calls and provides basic image manipulation operations.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Analyzes an image and returns a description.
Analyzes an image and returns a description.
Value parameters
- imagePath
-
Path to the image file
- prompt
-
Optional prompt to guide the analysis
Attributes
- Returns
-
Either error or image analysis result
- Definition Classes
Converts image format.
Converts image format.
Value parameters
- imagePath
-
Path to the input image
- targetFormat
-
Target image format
Attributes
- Returns
-
Either error or converted image
- Definition Classes
Preprocesses an image with specified operations.
Preprocesses an image with specified operations.
Value parameters
- imagePath
-
Path to the input image
- operations
-
List of preprocessing operations to apply
Attributes
- Returns
-
Either error or processed image
- Definition Classes
Resizes an image to specified dimensions.
Resizes an image to specified dimensions.
Value parameters
- height
-
Target height
- imagePath
-
Path to the input image
- maintainAspectRatio
-
Whether to maintain aspect ratio
- width
-
Target width
Attributes
- Returns
-
Either error or resized image
- Definition Classes