wood burning stoves 2.0*
The moose likes Mac OS and the fly likes BufferedImage problem on Mac OS X Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "BufferedImage problem on Mac OS X " Watch "BufferedImage problem on Mac OS X " New topic
Author

BufferedImage problem on Mac OS X

Mark Kahrl
Greenhorn

Joined: Oct 01, 2007
Posts: 2
I have a java.awt canvas and frame that renders graphics. It appears fine when it renders, but when I try to save the buffered image to a file or print it, the image appears all black or solid color, works fine on Windows machines, but for some reason I get an all black buffered image when running the code on Mac OS X. The following code creates the buffered image:


Has any one had similar problems with a BufferedImage on OS X, please let me know. Thanks!

Mark
[ UD: added code tags for better legibility ]
[ October 02, 2007: Message edited by: Ulf Dittmer ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: BufferedImage problem on Mac OS X