does anyone know the code for converting a jpeg colour image into a gray scale image???
Create a gray scale image (new BufferedImage(w,h,BufferedImage.TYPE_BYTE_GRAY)),
then use drawImage to copy your image into it.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.