Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getScaledInstance() brightens Grayscale images - need to adjust contrast, brightness

 
Matt Wilcko
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apply getScaledInstance to an RGB image works fine. Applying it to a Grayscale image causes the image to lighten significantly(I guess this is a known issue). Is there any way I could adjust the contrast and brightness after the getScaledInstance is applied? Example code would be great!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic