Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BufferedImage problem on Mac OS X

 
Mark Kahrl
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic