• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!