chandru9 commented on PR #21704:
URL: https://github.com/apache/camel/pull/21704#issuecomment-4006008211

   @jamesnetherton : Good point. The BufferedImage converter was added to 
support direct image processing inputs, but since Camel routes typically handle 
images as byte[], InputStream, or WrappedFile, and we already detect the MIME 
type to create the appropriate ImageContent, introducing BufferedImage may not 
be necessary.
   
   To avoid introducing the AWT dependency, I can remove the BufferedImage 
converter and rely on byte[] / InputStream based conversion using the detected 
content-type. This should cover the intended use cases for image processing in 
routes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to